Writing

문장 = sentence
문법 = grammar (법 = method)
작문 = composition
문화 = culture
논문 = thesis, paper
한문 = Chinese writing
문맹 = an illiterate person (맹 = blind)
문서 = a document
문자 = letters, text 
문학 = literature

Door, entrance 

문 = door, gate
창문 = window
정문 = front gate
문단속 = locking a door
교문 = a school gate
출입문 = entrance, exit
철문 = an iron door
입문 = an introduction

Question

질문 = question
문제 = problem
문답 = questions and answers
설문지 = questionnaire
의문 = a doubt, a question
의문사 = a mysterious death
의문사 = an interrogative
반문(하다) = to ask in return

사 = Writing, phrase, expression (한자) 
동 = Movement (한자) 
명 = Name (한자) 
형용 = Form, shape, figure 
대명사 = Pronoun
조사 = Particle/postposition
감탄사 = Interjection/exclamation (감탄 = wonder/awe)
동명사 = Gerund (noun form of verb)