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

What's hot (20)

PDF
ITI COPA PowerPoint MCQ Questions in Hindi
SONU HEETSON
 
PPT
10 instruction sets characteristics
dilip kumar
 
PPTX
Data types in C language
kashyap399
 
PPTX
Fundamentals of C Programming Language
RamaBoya2
 
PDF
ITI COPA MySQL MCQ Database Concept (DBMS)
SONU HEETSON
 
PDF
ITI COPA Python MCQ Most Important New Question
SONU HEETSON
 
PPTX
Micro programmed control
Shashank Singh
 
PPTX
Function in c program
umesh patil
 
PDF
Computer Basic Questions and answers MCQ
SONU HEETSON
 
PPTX
Instruction set and instruction execution cycle
Mkaur01
 
PDF
Data Structures Notes 2021
Sreedhar Chowdam
 
PDF
Computer Input and Output Devices MCQ in Hindi
SONU HEETSON
 
PPT
overview of register transfer, micro operations and basic computer organizati...
Rai University
 
PPTX
Data Types and Variables In C Programming
Kamal Acharya
 
PDF
ITI Training Officer COPA Previous Year Paper MCQ
SONU HEETSON
 
PPTX
Microprogrammed Control Unit
PreethiSureshkumar1
 
PDF
Pthread
Gopi Saiteja
 
ITI COPA PowerPoint MCQ Questions in Hindi
SONU HEETSON
 
10 instruction sets characteristics
dilip kumar
 
Data types in C language
kashyap399
 
Fundamentals of C Programming Language
RamaBoya2
 
ITI COPA MySQL MCQ Database Concept (DBMS)
SONU HEETSON
 
ITI COPA Python MCQ Most Important New Question
SONU HEETSON
 
Micro programmed control
Shashank Singh
 
Function in c program
umesh patil
 
Computer Basic Questions and answers MCQ
SONU HEETSON
 
Instruction set and instruction execution cycle
Mkaur01
 
Data Structures Notes 2021
Sreedhar Chowdam
 
Computer Input and Output Devices MCQ in Hindi
SONU HEETSON
 
overview of register transfer, micro operations and basic computer organizati...
Rai University
 
Data Types and Variables In C Programming
Kamal Acharya
 
ITI Training Officer COPA Previous Year Paper MCQ
SONU HEETSON
 
Microprogrammed Control Unit
PreethiSureshkumar1
 
Pthread
Gopi Saiteja
 

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

PDF
COPA Practice Set (Previous Year Question Paper)
SONU HEETSON
 
PDF
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
Alex Stewart
 
PDF
NIMI COPA Question Bank Mock Test App MCQ
SONU HEETSON
 
PDF
C Language MCQ Programming Theory Questions
SONU HEETSON
 
PDF
C MCQ
amutharajan10
 
PDF
DRDO Previous Year Computer Question (1000 MCQ)
SONU HEETSON
 
PPTX
unit 1 mcq pdf made by me in unique way.pptx
AnuradhaGupta789099
 
PDF
this pdf very much useful for embedded c programming students
pavan81088
 
PDF
CCC Online Exam Question Paper Important MCQ
SONU HEETSON
 
PDF
Solved Question Paper of Computer Operator Examination Conducted by EPF 2016
Suresh Khanal
 
PDF
Desktop Publishing Operator NIMI Question Bank
SONU HEETSON
 
PDF
CCC Exam Paper MCQs (Online Exam Question)
SONU HEETSON
 
DOCX
CXC CSEC Information Technology Multiple Choice Questions
Elliot Seepaul
 
PDF
Model question paper_mc0061
gurbaxrawat
 
PDF
Problem Solving Techniques Multiple Choice Question
sujathaMuthuramaling
 
PPTX
Std 12 chapter 7 Java Basics Important MCQs
Nuzhat Memon
 
PDF
Computer Technology Question Answer Fundamental MCQ
SONU HEETSON
 
PDF
UPSSSC Junior Assistant Computer Question (Previous Year Paper MCQ)
SONU HEETSON
 
PDF
Finance Executive ITI Monthly Test Question Paper
SONU HEETSON
 
PDF
Bt0062 fundamentals of it model question paper
Animish Puttu
 
COPA Practice Set (Previous Year Question Paper)
SONU HEETSON
 
CAPE Computer Science Unit 1 Paper 1 - Practice Paper
Alex Stewart
 
NIMI COPA Question Bank Mock Test App MCQ
SONU HEETSON
 
C Language MCQ Programming Theory Questions
SONU HEETSON
 
DRDO Previous Year Computer Question (1000 MCQ)
SONU HEETSON
 
unit 1 mcq pdf made by me in unique way.pptx
AnuradhaGupta789099
 
this pdf very much useful for embedded c programming students
pavan81088
 
CCC Online Exam Question Paper Important MCQ
SONU HEETSON
 
Solved Question Paper of Computer Operator Examination Conducted by EPF 2016
Suresh Khanal
 
Desktop Publishing Operator NIMI Question Bank
SONU HEETSON
 
CCC Exam Paper MCQs (Online Exam Question)
SONU HEETSON
 
CXC CSEC Information Technology Multiple Choice Questions
Elliot Seepaul
 
Model question paper_mc0061
gurbaxrawat
 
Problem Solving Techniques Multiple Choice Question
sujathaMuthuramaling
 
Std 12 chapter 7 Java Basics Important MCQs
Nuzhat Memon
 
Computer Technology Question Answer Fundamental MCQ
SONU HEETSON
 
UPSSSC Junior Assistant Computer Question (Previous Year Paper MCQ)
SONU HEETSON
 
Finance Executive ITI Monthly Test Question Paper
SONU HEETSON
 
Bt0062 fundamentals of it model question paper
Animish Puttu
 
Ad

More from Nuzhat Memon (20)

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

Recently uploaded (20)

PPTX
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
PPTX
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
PDF
Horarios de distribución de agua en julio
pegazohn1978
 
PPTX
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PPTX
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
PDF
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
PPTX
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
PPTX
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
PDF
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
PPTX
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
PPTX
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
PDF
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
PDF
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
PPTX
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
PDF
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
PPTX
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
PDF
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
PDF
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
PPTX
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
PPTX
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 
HUMAN RESOURCE MANAGEMENT: RECRUITMENT, SELECTION, PLACEMENT, DEPLOYMENT, TRA...
PRADEEP ABOTHU
 
Post Dated Cheque(PDC) Management in Odoo 18
Celine George
 
Horarios de distribución de agua en julio
pegazohn1978
 
How to Create Odoo JS Dialog_Popup in Odoo 18
Celine George
 
PATIENT ASSIGNMENTS AND NURSING CARE RESPONSIBILITIES.pptx
PRADEEP ABOTHU
 
Exploring the Different Types of Experimental Research
Thelma Villaflores
 
Cultivation practice of Litchi in Nepal.pptx
UmeshTimilsina1
 
Unit 2 COMMERCIAL BANKING, Corporate banking.pptx
AnubalaSuresh1
 
Chapter-V-DED-Entrepreneurship: Institutions Facilitating Entrepreneurship
Dayanand Huded
 
How to Convert an Opportunity into a Quotation in Odoo 18 CRM
Celine George
 
care of patient with elimination needs.pptx
Rekhanjali Gupta
 
Reconstruct, Restore, Reimagine: New Perspectives on Stoke Newington’s Histor...
History of Stoke Newington
 
The Constitution Review Committee (CRC) has released an updated schedule for ...
nservice241
 
Universal immunization Programme (UIP).pptx
Vishal Chanalia
 
CONCURSO DE POESIA “POETUFAS – PASSOS SUAVES PELO VERSO.pdf
Colégio Santa Teresinha
 
QUARTER 1 WEEK 2 PLOT, POV AND CONFLICTS
KynaParas
 
Geographical Diversity of India 100 Mcq.pdf/ 7th class new ncert /Social/Samy...
Sandeep Swamy
 
Biological Bilingual Glossary Hindi and English Medium
World of Wisdom
 
How to Handle Salesperson Commision in Odoo 18 Sales
Celine George
 
ASRB NET 2023 PREVIOUS YEAR QUESTION PAPER GENETICS AND PLANT BREEDING BY SAT...
Krashi Coaching
 

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