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

Std 10 Chapter 10 Introduction to C Language Important MCQs

  • 1.
    Chapter 10 introduction toc language Important MCQs
  • 2.
    Compiled by NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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 NuzhatMemon 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
  • 49.