SlideShare a Scribd company logo
Chapter 10
introduction to c
language
Important MCQs
Compiled by Nuzhat Memon
Important MCQ.s
1. What is the basic step in solving a problem?
a) Flowchart
b) Algorithm
c) Both (A) and (B)
d) None of these
2. There are ______ languages to write a program.
a) One
b) Two
c) Three
d) Many
2.
2
Compiled by Nuzhat Memon
3. To take the desired output from the computer, each sentence should be
of .......... type.
a) Meaningful
b) Definite
c) Both a) and b)
d) None of these
4. The set of predefined rules form ......... that language.
a) Phrase
b) Syntax
c) Numerical form
d) Word form
3
Important MCQ.s
Compiled by Nuzhat Memon
5. Which of the following is a computer language?
a) HTML
b) Java script
c) C
d) All of these
6. When we learn any new programming language it is like learning
the .............. of a language
a) Alphabets
b) Grammar
c) Syntax
d) history
4
Important MCQ.s
Compiled by Nuzhat Memon
7. How many meanings should be there for the instructions given to
the computer?
a) Only two
b) Only one
c) Only three
d) Many
8. Which language does a computer understand?
a) French
b) English
c) Binary (The language of 0 and 1)
d) Any other language of 1 and 2
5
Important MCQ.s
Compiled by Nuzhat Memon
9. The person who helps two people who don’t know each others
language is known as ......
a) Translator
b) Interpreter
c) Programmer
d) Both a) and b)
10. Translation software are known as ......
a) Compiler
b) Interpreter
c) Translator
d) Copy writer
6
Important MCQ.s
Compiled by Nuzhat Memon
11. A program can be defined as .......
a) Predefined task
b) Precise instruction
c) Clear instructions
d) All of these
12. A ......... can be defined as finite set of precise and clear instructions
given to a computer for performing a predefined task.
a) Function
b) Task
c) Program
d) Process
7
Important MCQ.s
Compiled by Nuzhat Memon
13. The process of writing these step by step instructions using a
chosen language is known as....
a) Translator
b) Programming
c) Program
d) Translation
14. How many inputs can a program take?
a) Zero
b) One or more
c) Except zero
d) Zero or more
8
Important MCQ.s
Compiled by Nuzhat Memon
15. How many outputs can a program give?
a) Zero
b) One or more
c) Except zero
d) Zero or more
16. C language was introduced in which year ?
a) 1971
b) 1972
c) 1973
d) 1970
9
Important MCQ.s
Compiled by Nuzhat Memon
17. C language was introduced in which laboratory?
a) C laboratory
b) AT & T Bell laboratory
c) IBM laboratory
d) Denis laboratory
18. The credit of C language goes to ?
a) Blaze Pascal
b) Richard Watson
c) Charles Babbage
d) Dennis M. Ritchie
10
Important MCQ.s
Compiled by Nuzhat Memon
19. C language is derived from which language?
a) BCAL
b) BCPL
c) BCPA
d) BCLP
20. What is the full form of BCPL?
a) Basic Combined Pointer Language
b) Basic Combined Printable Language
c) Basic Combined Programming Language
d) Basic Combined Program Language
11
Important MCQ.s
Compiled by Nuzhat Memon
21. Main purpose of C language was to develop.......
a)System software
b)Programming software
c) Application software
d)All of these
22. C language was standardized by ANSI in which of the following
years ?
a)1972
b)1989
c) 1982
d)1979
12
Important MCQ.s
Compiled by Nuzhat Memon
23. What is the full form of ANSI ?
a)American National Source Institute
b)American National Standard Institute
c) American National Section Institute
d)American National State Institute
24. What type of C language is ?
a)Structured
b)Middle level language
c) General purpose programming language
d)All of these
13
Important mcq.s
Compiled by Nuzhat Memon
Important mcq.s
25. The facility of dividing a program in small divisions in C language is known as .......
OR C program is the collection of _______
a)Keyword
b)Identifier
c) Character set
d) Function
26. C program can be run on any other operating system or compiler with minimum
changes done to it, is known as........
a)User defined
b)Built in
c) Portable
d)All of these
14
Compiled by Nuzhat Memon
Important mcq.s
27.The program that converts programming language into the machine
language is called .........
a)Linker
b)Loader
c) Compiler
d)All of these
28. Which of the following is a comment section ?
a)main()
b)documentation
c) File include section
d)Symbolic constant definition
15
Compiled by Nuzhat Memon
Important mcq.s
29. In C language, comments are enclosed within ..........
a)/* and */
b)/ and /
c) < and >
d)* and *
30. Which of the following is an extension of C program file?
a)h
b)c
c) t
d)s
16
Compiled by Nuzhat Memon
Important mcq.s
31. Which of the following number refers to number of C character
categories?
a)2
b)4
c) 8
d)16
32. which of the following are defined using capital letters?
a)Symbolic constant
b)Variable
c) Constant
d)Global variable
17
Compiled by Nuzhat Memon
Important mcq.s
33. The pre-processor directive # is used to define which of the following in C?
a)Symbolic constant
b)A character
c) Integer constant
d)String constant
34. Which of the following C character categories does the symbol = belongs?
a)Letter
b)Special character
c) Blank space
d)Digit
18
Compiled by Nuzhat Memon
Important mcq.s
35. The extension of Header file is .....
a).h
b).head
c) .header
d)None of the given
36. The variables defined within the ...... are known as local
variables.
a){ }
b)< >
c) [ ]
d)( )
19
Compiled by Nuzhat Memon
Important mcq.s
37. The execution of C program starts from ....
a)main ( )
b)# include <stdio.h>
c) # define PI 3.14
d)All of these
38. A word that a user has constructed by making use of character set
is known as .....
a)Token
b)Keyword
c) Variable
d)identifier
20
Compiled by Nuzhat Memon
Important mcq.s
39. The first character of variable name must be......
a)Underscore
b)Letter
c) #
d)Both a) and b)
40. Which of the following can be used in a variable name?
a)Letters, digits, special characters
b)Letters, digits, underscore
c) Letters, digits, blank spaces
d)None of these
21
Compiled by Nuzhat Memon
Important mcq.s
41. Which of the following is a valid keyword of C ?
a)ofsize
b)sizeof
c) forsize
d)sizefor
42. Which of the following is an invalid variable name in C ?
a)Register
b)RegIster
c) registre
d) register
22
Compiled by Nuzhat Memon
Important mcq.s
43. Which of the following is an invalid integer constant in C ?
a)0xG
b)0xA
c) 0xB
d)0xD
44. Which of the following is valid real constant in C ?
a)-2.0.5e5
b)-20.5e5.5
c) -20.5e5
d)-20.5e5.555
23
Compiled by Nuzhat Memon
Important mcq.s
45. ASCII stands for .........................
a)American Standard Code for Interchange Information
b)American Standard Code for Information Interchange
c) American Standard Code for Intelligent Interchange
d)American Standard Code for Internet Interchange
46. String constants are enclosed within ......... symbols
a)Single quote (‘)
b)Double quote (“)
c) Comma (,)
d)Semi colon (:)
24
Compiled by Nuzhat Memon
Important mcq.s
47. .................. of the following function provides normal exit from the
main( ) or any other function.
a)scanf ( )
b)return 0
c) printf ( )
d)main ( )
48.Which of the following is valid single character constant in C ?
a)‘a’
b)‘a’
c) “a”
d)All of these
25
Compiled by Nuzhat Memon
Important mcq.s
49. ........ indicates the beginning of the main( ).
a)(
b)[
c) {
d)None of these
50. C statement ends with what?
a):
b),
c) |
d);
26
Compiled by Nuzhat Memon
Important mcq.s
51. The program written using a text editor is known as......
a)Source code
b)Source program
c) Both a) and b)
d)None of these
52. The default extension of object code is ........
a).obj
b).c
c) .exe
d).html
27
Compiled by Nuzhat Memon
Important mcq.s
53. The extension of executable code is ...
a).obj
b).exe
c) .c
d).html
54. ____________ is used to link the object code with the library functions
giving executable program or code.
a)Compiler
b)Linker
c) Loader
d)All of these
28
Compiled by Nuzhat Memon
Important mcq.s
55. ...... text editor allows us to compile and run simple programs with
one window itself.
a)vi
b)gedit
c) brITE
d)SciTE
56. Which of the following can be used to print message/ information ?
a)printf ( )
b)return ( )
c) main ( )
d)scanf ( )
29
Compiled by Nuzhat Memon
Important mcq.s
57. Which of the following can be included in C character set?
a)White spaces
b)Letters and digits
c) Special characters
d)All of these
58. ............ of the following are the special characters of C characters set.
a)[ ],{ }, ( ), <, >, =
b)@, $, #, &, ~
c) <,>,#,-,+,/,*
d)All of these
30
Compiled by Nuzhat Memon
Important mcq.s
59. ....... of the following are the white spaces of C character set
a)Horizontal & vertical
b)#, @, ( ),{ }
c) Blank spaces, form feed, new letter
d)Both a) and c)
60. A ........ in C is known as token of C
a)Word
b)Character
c) Sentence
d)All of these
31
Compiled by Nuzhat Memon
Important mcq.s
61. C basically indentifies .......types of token of C
a)14
b)12
c) 8
d)6
62. Predefined words in C language are known as ........
a)Character
b)Symbolic constant
c) Keyword
d)None of these
32
Compiled by Nuzhat Memon
Important mcq.s
63. ANSI C standard supports ..... predefined words.
a)30
b)32
c) 20
d)10
64. .... of the following is a user defined function.
a)printf ( )
b)scanf( )
c) main ( )
d)None of these
33
Compiled by Nuzhat Memon
Important mcq.s
65. .......... is an example identifier in c language.
a)cost
b)float
c) main( )
d)All of these
66. The maximum length of variable name as per ANSI standards is ......
characters .
a)48
b)31
c) 255
d)256
34
Compiled by Nuzhat Memon
Important mcq.s
67. ...... is a constant.
a)int
b)12
c) *
d){ }
68. ..... of the following is a string.
a)main ( )
b)void
c) “welcome”
d)*
35
Compiled by Nuzhat Memon
Important mcq.s
69. The entities of C that do not change its value throughout the execution
of a program are known as ....
a)Variable
b)Constant
c) Token
d)String
70. There are ....... types of integer constants.
a)1
b)3
c) 4
d)8
36
Compiled by Nuzhat Memon
Important mcq.s
71. The ........... constants in c language are displayed by using 0x or 0X as
prefix.
a)Decimal
b)Hexadecimal
c) Octal
d)All of these
72. The .......... constants use numeric digits from 0 to 9 and letters A to F.
a)Decimal
b)Hexadecimal
c) Octal
d)All of these
37
Compiled by Nuzhat Memon
Important mcq.s
73. Which of the following constant can have urinary plus or minus as
prefix?
a)Decimal
b)Hexadecimal
c) Octal
d)All of these
74. The ................. numbers have base 8 and prefix with 0.
a)Decimal
b)Octal
c) Hexadecimal
d)All of these
38
Compiled by Nuzhat Memon
Important mcq.s
75. The octal constants use numeric digits from .....
a)1 to 8
b)0 to 8
c) 0 to 7
d)1 to 7
76. Real constant can be represented in .......... form using a mantissa and
exponent
a)Logical
b)Scientific
c) Conditional
d)All of these
39
Compiled by Nuzhat Memon
Important mcq.s
77. In 0.2050E2, ......... is known as mantissa.
a)E/e
b)2
c) 0.2050
d)None of these
78. In 0.2050E2, .......... is known as exponent.
a)E/e
b)2
c) 0.2050
d)None of these
40
Compiled by Nuzhat Memon
Important mcq.s
79. Every string in C are ended by .....
a)b
b)d
c) n
d)0
80. ___________ constant occupies two memory spaces in C language .
a)Single character
b)Back slash character
c) String
d)All of these
41
Compiled by Nuzhat Memon
Important mcq.s
81.Special character constants are known as ......... as the output of these
constants is not a character but white spaces.
a)Single character
b)Back slash character
c) Escape sequence character
d)All of the given
82. ....... is used to insert a new line at the time of input/output.
a)new
b)n
c) r
d)d
42
Compiled by Nuzhat Memon
Important mcq.s
83. t is used to insert ..........
a)Audible alert
b)Vertical tab
c) Horizontal tab
d)Form feed
84. ............ is used to insert audible alert.
a)s
b)t
c) a
d)n
43
Compiled by Nuzhat Memon
Important mcq.s
85. Which of the following is used to insert carriage return?
a)c
b)r
c) v
d)
86 Which of the following is used to insert form feed?
a)c
b)v
c) ff
d)f
44
Compiled by Nuzhat Memon
Important mcq.s
87. To do compilation using gcc ....... command is typed in the terminal.
a)filename. c gcc
b)gcc filename.c
c) Both (a) and (b)
d)None of these
88. ........... give a name to output file using gcc command.
a)gcc -o myprog.o myprog.c
b)gcc -c myprog.o myprog.c
c) gcc -v myprog.o myprog.c
d)All of these
45
Compiled by Nuzhat Memon
Important mcq.s
89. Full form of IDE is .......
a)Integrated Data Environment
b)Integrated Development Electronics
c) Integrated Database Environment
d)Integrated Development Environment
90. ............ is used to compile file in SciTE Text Editor.
a)View  Compile (Ctrl + F6)
b)Tools  Compile (Ctrl + F7)
c) File  Compile (Ctrl + F8)
d)Edit  Compile (Ctrl + F9)
46
Compiled by Nuzhat Memon
Important mcq.s
91. ......... is selected to execute a file in SciTE Text Editor OR ......... is used
to directly execute a program.
a)File  Go (F3)
b)Edit  Go (F4)
c) Tools  Go (F5)
d)Views  Go (F6)
92. What option is selected to open the SciTE Text Editor?
a)Application  Programming  SciTE Text Editor
b)ProgrammingApplication  SciTE Text Editor
c) Application Accessories  SciTE Text Editor
d) Accessories Application  SciTE Text Editor
47
Compiled by Nuzhat Memon
Important mcq.s
93. ..... is used to delete the previous results in the output window of the
SciTE Text Editor.
a)View  Clear Output (Ctrl + F5)
b)Tools  Clear Output (Shift + F5)
c) Edit  Clear Output (Alt + F7)
d)Format  Clear Output (Alt + F5)
94. ......... statement instructs the compiler that the occurrence of the
symbolic constant used in program should be replaced by the constant
value specified in the definition.
a)Pre-processor directive
b)Pre-processing directive
c) Pre-process directive
d)Pre-processed directive
48
Thanks!
49

More Related Content

PPTX
Std 10 chapter 11 data type, expression and operators important MCQs
PDF
Computer Virus and Antivirus MCQ Question
PDF
MS-Office-Questions-for-Compitition-exams.pdf
PDF
COPA ITI MS Word MCQ Most Important Questions
PDF
COPA Trade PPT PowerPoint Most Important MCQ
PDF
Computer Software MCQ (Application Related Question)
PDF
CSS MCQ (Cascading Style Sheet Question)
Std 10 chapter 11 data type, expression and operators important MCQs
Computer Virus and Antivirus MCQ Question
MS-Office-Questions-for-Compitition-exams.pdf
COPA ITI MS Word MCQ Most Important Questions
COPA Trade PPT PowerPoint Most Important MCQ
Computer Software MCQ (Application Related Question)
CSS MCQ (Cascading Style Sheet Question)

What's hot (20)

PDF
MS Excel MCQ Questions and Answers (Microsoft Office)
PDF
Computer Mouse Questions and Answers MCQ
PDF
Operating System MCQ (OS Most Important Question)
PDF
Computer Fundamental MCQ Most Important Question
PPT
Introduction to c programming
PDF
JavaScript MCQ Hindi Objective Multiple Choice Questions
PDF
Computer awareness question bank
PPTX
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 1
PPTX
C programming language tutorial
PDF
Computer Keyboard Related MCQ Question Answer
PDF
Computer system architecture mcq bank
PDF
MS Office MCQ (Microsoft office Questions)
PDF
Internet MCQ (Web Technology Questions and Answers)
PDF
WordPad MCQ Questions and Answers Basic Objective
PDF
Computer Mcqs.pdf
PDF
Bharat Skills COPA Question Bank with Answers
PDF
Computer systems mcq
PDF
MS Windows MCQ (Microsoft Questions and Answers)
PDF
COPA Theory Question Chapter 1 Computer MCQ
PPTX
PART - 1 Cpp programming Solved MCQ
MS Excel MCQ Questions and Answers (Microsoft Office)
Computer Mouse Questions and Answers MCQ
Operating System MCQ (OS Most Important Question)
Computer Fundamental MCQ Most Important Question
Introduction to c programming
JavaScript MCQ Hindi Objective Multiple Choice Questions
Computer awareness question bank
UGC-NET, GATE and all IT Companies Interview C++ Solved Questions PART - 1
C programming language tutorial
Computer Keyboard Related MCQ Question Answer
Computer system architecture mcq bank
MS Office MCQ (Microsoft office Questions)
Internet MCQ (Web Technology Questions and Answers)
WordPad MCQ Questions and Answers Basic Objective
Computer Mcqs.pdf
Bharat Skills COPA Question Bank with Answers
Computer systems mcq
MS Windows MCQ (Microsoft Questions and Answers)
COPA Theory Question Chapter 1 Computer MCQ
PART - 1 Cpp programming Solved MCQ
Ad

Similar to Std 10 Chapter 10 Introduction to C Language Important MCQs (20)

PDF
this pdf very much useful for embedded c programming students
PDF
PDF
C Language MCQ Programming Theory Questions
DOCX
C question bank
PDF
Model question paper_mc0061
PDF
Hands-On Ethical Hacking and Network Defense 1st Edition Simpson Test Bank
PDF
Computer programming mcqs
PDF
Hands-On Ethical Hacking and Network Defense 1st Edition Simpson Test Bank
PDF
Basic concepts of c language
PDF
C & C++ 1 WORD MCQ with ANSWER - AI & DS.pdf
DOCX
Computer programming questions
DOCX
Computer programming questions
PDF
DOC
C Programming
PDF
DAC CCAT GUESS PAPER Jun-Jul 2013
PDF
Reduce course notes class xii
PDF
C aptitude 1st jan 2012
DOCX
(Www.entrance exam.net)-tcs placement sample paper 2
PDF
Soln dc05
PPT
introductiontocprogramming-130719083552-phpapp01.ppt
this pdf very much useful for embedded c programming students
C Language MCQ Programming Theory Questions
C question bank
Model question paper_mc0061
Hands-On Ethical Hacking and Network Defense 1st Edition Simpson Test Bank
Computer programming mcqs
Hands-On Ethical Hacking and Network Defense 1st Edition Simpson Test Bank
Basic concepts of c language
C & C++ 1 WORD MCQ with ANSWER - AI & DS.pdf
Computer programming questions
Computer programming questions
C Programming
DAC CCAT GUESS PAPER Jun-Jul 2013
Reduce course notes class xii
C aptitude 1st jan 2012
(Www.entrance exam.net)-tcs placement sample paper 2
Soln dc05
introductiontocprogramming-130719083552-phpapp01.ppt
Ad

More from Nuzhat Memon (20)

PPTX
Std 12 chapter 7 Java Basics Important MCQs
PPTX
Std 12 computer chapter 8 classes and objects in java important MCQs
PPTX
Std 12 Computer Chapter 6 object oriented concept important mcqs
PPTX
Std 12 computer chapter 6 object oriented concepts (part 1)
PPTX
Std 12 computer chapter 6 object oriented concepts (part 2)
PPTX
Std 12 computer java basics part 3 control structure
PPTX
Std 12 Computer Chapter 7 Java Basics (Part 2)
PPTX
Std 12 Computer Chapter 7 Java Basics (Part 1)
PPTX
Std 12 Computer Chapter 13 other useful free tools and services important MCQs
PPTX
Std 12 Computer Chapter 9 Working with Array and String in Java important MCQs
PPTX
Std 12 computer chapter 8 classes and object in java (part 2)
PPTX
Std 10 computer chapter 10 introduction to c language (part2)
PPTX
Std 10 computer chapter 10 introduction to c language (part1)
PPTX
Std 10 computer chapter 9 Problems and Problem Solving
PPTX
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 3: Masking to R...
PPTX
Chapter 5 Using Pictures in Synfig (Practical 2: Masking to hide area in synfig)
PPTX
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 1 Basics Opera...
PPTX
Std 11 Computer Chapter 4 Introduction to Layers (Part 3 Solving Textual Exe...
PPTX
Std 11 Computer Chapter 4 Introduction to Layers (Part 2 Practical :Rotation ...
PPTX
Std 11 Computer Chapter 4 Introduction to Layers
Std 12 chapter 7 Java Basics Important MCQs
Std 12 computer chapter 8 classes and objects in java important MCQs
Std 12 Computer Chapter 6 object oriented concept important mcqs
Std 12 computer chapter 6 object oriented concepts (part 1)
Std 12 computer chapter 6 object oriented concepts (part 2)
Std 12 computer java basics part 3 control structure
Std 12 Computer Chapter 7 Java Basics (Part 2)
Std 12 Computer Chapter 7 Java Basics (Part 1)
Std 12 Computer Chapter 13 other useful free tools and services important MCQs
Std 12 Computer Chapter 9 Working with Array and String in Java important MCQs
Std 12 computer chapter 8 classes and object in java (part 2)
Std 10 computer chapter 10 introduction to c language (part2)
Std 10 computer chapter 10 introduction to c language (part1)
Std 10 computer chapter 9 Problems and Problem Solving
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 3: Masking to R...
Chapter 5 Using Pictures in Synfig (Practical 2: Masking to hide area in synfig)
Std 11 Computer Chapter 5 Using Pictures in Synfig (Practical 1 Basics Opera...
Std 11 Computer Chapter 4 Introduction to Layers (Part 3 Solving Textual Exe...
Std 11 Computer Chapter 4 Introduction to Layers (Part 2 Practical :Rotation ...
Std 11 Computer Chapter 4 Introduction to Layers

Recently uploaded (20)

PDF
Computing-Curriculum for Schools in Ghana
PPTX
Pharma ospi slides which help in ospi learning
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Sports Quiz easy sports quiz sports quiz
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PPTX
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
PDF
01-Introduction-to-Information-Management.pdf
PPTX
master seminar digital applications in india
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PPTX
Cell Types and Its function , kingdom of life
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Cell Structure & Organelles in detailed.
PDF
RMMM.pdf make it easy to upload and study
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PPTX
Lesson notes of climatology university.
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PDF
Pre independence Education in Inndia.pdf
PDF
VCE English Exam - Section C Student Revision Booklet
Computing-Curriculum for Schools in Ghana
Pharma ospi slides which help in ospi learning
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Sports Quiz easy sports quiz sports quiz
Renaissance Architecture: A Journey from Faith to Humanism
Introduction_to_Human_Anatomy_and_Physiology_for_B.Pharm.pptx
01-Introduction-to-Information-Management.pdf
master seminar digital applications in india
2.FourierTransform-ShortQuestionswithAnswers.pdf
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
Cell Types and Its function , kingdom of life
Supply Chain Operations Speaking Notes -ICLT Program
Cell Structure & Organelles in detailed.
RMMM.pdf make it easy to upload and study
Abdominal Access Techniques with Prof. Dr. R K Mishra
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Lesson notes of climatology university.
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Pre independence Education in Inndia.pdf
VCE English Exam - Section C Student Revision Booklet

Std 10 Chapter 10 Introduction to C Language Important MCQs

  • 1. Chapter 10 introduction to c language Important MCQs
  • 2. Compiled by Nuzhat Memon Important MCQ.s 1. What is the basic step in solving a problem? a) Flowchart b) Algorithm c) Both (A) and (B) d) None of these 2. There are ______ languages to write a program. a) One b) Two c) Three d) Many 2. 2
  • 3. Compiled by Nuzhat Memon 3. To take the desired output from the computer, each sentence should be of .......... type. a) Meaningful b) Definite c) Both a) and b) d) None of these 4. The set of predefined rules form ......... that language. a) Phrase b) Syntax c) Numerical form d) Word form 3 Important MCQ.s
  • 4. Compiled by Nuzhat Memon 5. Which of the following is a computer language? a) HTML b) Java script c) C d) All of these 6. When we learn any new programming language it is like learning the .............. of a language a) Alphabets b) Grammar c) Syntax d) history 4 Important MCQ.s
  • 5. Compiled by Nuzhat Memon 7. How many meanings should be there for the instructions given to the computer? a) Only two b) Only one c) Only three d) Many 8. Which language does a computer understand? a) French b) English c) Binary (The language of 0 and 1) d) Any other language of 1 and 2 5 Important MCQ.s
  • 6. Compiled by Nuzhat Memon 9. The person who helps two people who don’t know each others language is known as ...... a) Translator b) Interpreter c) Programmer d) Both a) and b) 10. Translation software are known as ...... a) Compiler b) Interpreter c) Translator d) Copy writer 6 Important MCQ.s
  • 7. Compiled by Nuzhat Memon 11. A program can be defined as ....... a) Predefined task b) Precise instruction c) Clear instructions d) All of these 12. A ......... can be defined as finite set of precise and clear instructions given to a computer for performing a predefined task. a) Function b) Task c) Program d) Process 7 Important MCQ.s
  • 8. Compiled by Nuzhat Memon 13. The process of writing these step by step instructions using a chosen language is known as.... a) Translator b) Programming c) Program d) Translation 14. How many inputs can a program take? a) Zero b) One or more c) Except zero d) Zero or more 8 Important MCQ.s
  • 9. Compiled by Nuzhat Memon 15. How many outputs can a program give? a) Zero b) One or more c) Except zero d) Zero or more 16. C language was introduced in which year ? a) 1971 b) 1972 c) 1973 d) 1970 9 Important MCQ.s
  • 10. Compiled by Nuzhat Memon 17. C language was introduced in which laboratory? a) C laboratory b) AT & T Bell laboratory c) IBM laboratory d) Denis laboratory 18. The credit of C language goes to ? a) Blaze Pascal b) Richard Watson c) Charles Babbage d) Dennis M. Ritchie 10 Important MCQ.s
  • 11. Compiled by Nuzhat Memon 19. C language is derived from which language? a) BCAL b) BCPL c) BCPA d) BCLP 20. What is the full form of BCPL? a) Basic Combined Pointer Language b) Basic Combined Printable Language c) Basic Combined Programming Language d) Basic Combined Program Language 11 Important MCQ.s
  • 12. Compiled by Nuzhat Memon 21. Main purpose of C language was to develop....... a)System software b)Programming software c) Application software d)All of these 22. C language was standardized by ANSI in which of the following years ? a)1972 b)1989 c) 1982 d)1979 12 Important MCQ.s
  • 13. Compiled by Nuzhat Memon 23. What is the full form of ANSI ? a)American National Source Institute b)American National Standard Institute c) American National Section Institute d)American National State Institute 24. What type of C language is ? a)Structured b)Middle level language c) General purpose programming language d)All of these 13 Important mcq.s
  • 14. Compiled by Nuzhat Memon Important mcq.s 25. The facility of dividing a program in small divisions in C language is known as ....... OR C program is the collection of _______ a)Keyword b)Identifier c) Character set d) Function 26. C program can be run on any other operating system or compiler with minimum changes done to it, is known as........ a)User defined b)Built in c) Portable d)All of these 14
  • 15. Compiled by Nuzhat Memon Important mcq.s 27.The program that converts programming language into the machine language is called ......... a)Linker b)Loader c) Compiler d)All of these 28. Which of the following is a comment section ? a)main() b)documentation c) File include section d)Symbolic constant definition 15
  • 16. Compiled by Nuzhat Memon Important mcq.s 29. In C language, comments are enclosed within .......... a)/* and */ b)/ and / c) < and > d)* and * 30. Which of the following is an extension of C program file? a)h b)c c) t d)s 16
  • 17. Compiled by Nuzhat Memon Important mcq.s 31. Which of the following number refers to number of C character categories? a)2 b)4 c) 8 d)16 32. which of the following are defined using capital letters? a)Symbolic constant b)Variable c) Constant d)Global variable 17
  • 18. Compiled by Nuzhat Memon Important mcq.s 33. The pre-processor directive # is used to define which of the following in C? a)Symbolic constant b)A character c) Integer constant d)String constant 34. Which of the following C character categories does the symbol = belongs? a)Letter b)Special character c) Blank space d)Digit 18
  • 19. Compiled by Nuzhat Memon Important mcq.s 35. The extension of Header file is ..... a).h b).head c) .header d)None of the given 36. The variables defined within the ...... are known as local variables. a){ } b)< > c) [ ] d)( ) 19
  • 20. Compiled by Nuzhat Memon Important mcq.s 37. The execution of C program starts from .... a)main ( ) b)# include <stdio.h> c) # define PI 3.14 d)All of these 38. A word that a user has constructed by making use of character set is known as ..... a)Token b)Keyword c) Variable d)identifier 20
  • 21. Compiled by Nuzhat Memon Important mcq.s 39. The first character of variable name must be...... a)Underscore b)Letter c) # d)Both a) and b) 40. Which of the following can be used in a variable name? a)Letters, digits, special characters b)Letters, digits, underscore c) Letters, digits, blank spaces d)None of these 21
  • 22. Compiled by Nuzhat Memon Important mcq.s 41. Which of the following is a valid keyword of C ? a)ofsize b)sizeof c) forsize d)sizefor 42. Which of the following is an invalid variable name in C ? a)Register b)RegIster c) registre d) register 22
  • 23. Compiled by Nuzhat Memon Important mcq.s 43. Which of the following is an invalid integer constant in C ? a)0xG b)0xA c) 0xB d)0xD 44. Which of the following is valid real constant in C ? a)-2.0.5e5 b)-20.5e5.5 c) -20.5e5 d)-20.5e5.555 23
  • 24. Compiled by Nuzhat Memon Important mcq.s 45. ASCII stands for ......................... a)American Standard Code for Interchange Information b)American Standard Code for Information Interchange c) American Standard Code for Intelligent Interchange d)American Standard Code for Internet Interchange 46. String constants are enclosed within ......... symbols a)Single quote (‘) b)Double quote (“) c) Comma (,) d)Semi colon (:) 24
  • 25. Compiled by Nuzhat Memon Important mcq.s 47. .................. of the following function provides normal exit from the main( ) or any other function. a)scanf ( ) b)return 0 c) printf ( ) d)main ( ) 48.Which of the following is valid single character constant in C ? a)‘a’ b)‘a’ c) “a” d)All of these 25
  • 26. Compiled by Nuzhat Memon Important mcq.s 49. ........ indicates the beginning of the main( ). a)( b)[ c) { d)None of these 50. C statement ends with what? a): b), c) | d); 26
  • 27. Compiled by Nuzhat Memon Important mcq.s 51. The program written using a text editor is known as...... a)Source code b)Source program c) Both a) and b) d)None of these 52. The default extension of object code is ........ a).obj b).c c) .exe d).html 27
  • 28. Compiled by Nuzhat Memon Important mcq.s 53. The extension of executable code is ... a).obj b).exe c) .c d).html 54. ____________ is used to link the object code with the library functions giving executable program or code. a)Compiler b)Linker c) Loader d)All of these 28
  • 29. Compiled by Nuzhat Memon Important mcq.s 55. ...... text editor allows us to compile and run simple programs with one window itself. a)vi b)gedit c) brITE d)SciTE 56. Which of the following can be used to print message/ information ? a)printf ( ) b)return ( ) c) main ( ) d)scanf ( ) 29
  • 30. Compiled by Nuzhat Memon Important mcq.s 57. Which of the following can be included in C character set? a)White spaces b)Letters and digits c) Special characters d)All of these 58. ............ of the following are the special characters of C characters set. a)[ ],{ }, ( ), <, >, = b)@, $, #, &, ~ c) <,>,#,-,+,/,* d)All of these 30
  • 31. Compiled by Nuzhat Memon Important mcq.s 59. ....... of the following are the white spaces of C character set a)Horizontal & vertical b)#, @, ( ),{ } c) Blank spaces, form feed, new letter d)Both a) and c) 60. A ........ in C is known as token of C a)Word b)Character c) Sentence d)All of these 31
  • 32. Compiled by Nuzhat Memon Important mcq.s 61. C basically indentifies .......types of token of C a)14 b)12 c) 8 d)6 62. Predefined words in C language are known as ........ a)Character b)Symbolic constant c) Keyword d)None of these 32
  • 33. Compiled by Nuzhat Memon Important mcq.s 63. ANSI C standard supports ..... predefined words. a)30 b)32 c) 20 d)10 64. .... of the following is a user defined function. a)printf ( ) b)scanf( ) c) main ( ) d)None of these 33
  • 34. Compiled by Nuzhat Memon Important mcq.s 65. .......... is an example identifier in c language. a)cost b)float c) main( ) d)All of these 66. The maximum length of variable name as per ANSI standards is ...... characters . a)48 b)31 c) 255 d)256 34
  • 35. Compiled by Nuzhat Memon Important mcq.s 67. ...... is a constant. a)int b)12 c) * d){ } 68. ..... of the following is a string. a)main ( ) b)void c) “welcome” d)* 35
  • 36. Compiled by Nuzhat Memon Important mcq.s 69. The entities of C that do not change its value throughout the execution of a program are known as .... a)Variable b)Constant c) Token d)String 70. There are ....... types of integer constants. a)1 b)3 c) 4 d)8 36
  • 37. Compiled by Nuzhat Memon Important mcq.s 71. The ........... constants in c language are displayed by using 0x or 0X as prefix. a)Decimal b)Hexadecimal c) Octal d)All of these 72. The .......... constants use numeric digits from 0 to 9 and letters A to F. a)Decimal b)Hexadecimal c) Octal d)All of these 37
  • 38. Compiled by Nuzhat Memon Important mcq.s 73. Which of the following constant can have urinary plus or minus as prefix? a)Decimal b)Hexadecimal c) Octal d)All of these 74. The ................. numbers have base 8 and prefix with 0. a)Decimal b)Octal c) Hexadecimal d)All of these 38
  • 39. Compiled by Nuzhat Memon Important mcq.s 75. The octal constants use numeric digits from ..... a)1 to 8 b)0 to 8 c) 0 to 7 d)1 to 7 76. Real constant can be represented in .......... form using a mantissa and exponent a)Logical b)Scientific c) Conditional d)All of these 39
  • 40. Compiled by Nuzhat Memon Important mcq.s 77. In 0.2050E2, ......... is known as mantissa. a)E/e b)2 c) 0.2050 d)None of these 78. In 0.2050E2, .......... is known as exponent. a)E/e b)2 c) 0.2050 d)None of these 40
  • 41. Compiled by Nuzhat Memon Important mcq.s 79. Every string in C are ended by ..... a)b b)d c) n d)0 80. ___________ constant occupies two memory spaces in C language . a)Single character b)Back slash character c) String d)All of these 41
  • 42. Compiled by Nuzhat Memon Important mcq.s 81.Special character constants are known as ......... as the output of these constants is not a character but white spaces. a)Single character b)Back slash character c) Escape sequence character d)All of the given 82. ....... is used to insert a new line at the time of input/output. a)new b)n c) r d)d 42
  • 43. Compiled by Nuzhat Memon Important mcq.s 83. t is used to insert .......... a)Audible alert b)Vertical tab c) Horizontal tab d)Form feed 84. ............ is used to insert audible alert. a)s b)t c) a d)n 43
  • 44. Compiled by Nuzhat Memon Important mcq.s 85. Which of the following is used to insert carriage return? a)c b)r c) v d) 86 Which of the following is used to insert form feed? a)c b)v c) ff d)f 44
  • 45. Compiled by Nuzhat Memon Important mcq.s 87. To do compilation using gcc ....... command is typed in the terminal. a)filename. c gcc b)gcc filename.c c) Both (a) and (b) d)None of these 88. ........... give a name to output file using gcc command. a)gcc -o myprog.o myprog.c b)gcc -c myprog.o myprog.c c) gcc -v myprog.o myprog.c d)All of these 45
  • 46. Compiled by Nuzhat Memon Important mcq.s 89. Full form of IDE is ....... a)Integrated Data Environment b)Integrated Development Electronics c) Integrated Database Environment d)Integrated Development Environment 90. ............ is used to compile file in SciTE Text Editor. a)View  Compile (Ctrl + F6) b)Tools  Compile (Ctrl + F7) c) File  Compile (Ctrl + F8) d)Edit  Compile (Ctrl + F9) 46
  • 47. Compiled by Nuzhat Memon Important mcq.s 91. ......... is selected to execute a file in SciTE Text Editor OR ......... is used to directly execute a program. a)File  Go (F3) b)Edit  Go (F4) c) Tools  Go (F5) d)Views  Go (F6) 92. What option is selected to open the SciTE Text Editor? a)Application  Programming  SciTE Text Editor b)ProgrammingApplication  SciTE Text Editor c) Application Accessories  SciTE Text Editor d) Accessories Application  SciTE Text Editor 47
  • 48. Compiled by Nuzhat Memon Important mcq.s 93. ..... is used to delete the previous results in the output window of the SciTE Text Editor. a)View  Clear Output (Ctrl + F5) b)Tools  Clear Output (Shift + F5) c) Edit  Clear Output (Alt + F7) d)Format  Clear Output (Alt + F5) 94. ......... statement instructs the compiler that the occurrence of the symbolic constant used in program should be replaced by the constant value specified in the definition. a)Pre-processor directive b)Pre-processing directive c) Pre-process directive d)Pre-processed directive 48