As we
mentioned in our previous post we are here
with our quiz course.We are starting our quiz wth the c languae.there
will be 3 quizes in regular interval of two days these quizzes will cover the
complete basic knowledge of C. Each quiz
will consist of 20 questions:
Quiz 1:(c
language)
Q1 which
language offer a better portability?
a)machine
language
b)Assembly
language
c)C language
d)None of
these
Q2 which of
the following language is 4 generation language?
a)Pascal
b)cobol
c)c
d)dBase
Q3 which one
is odd?
a)Interpeter
b)compiler
c)Debugger
d)Translator
Q4 C
developed by whom and when?
a)Denis
Ritche and 1972
b )Denis
Ritche and 1973
c)Denis Ritche and 1974
d)None of
these
Q5 C is a :
a)Middle
level language
b)High level
language
c)low level
language
d)none of
these
Q6 A C
program is a collection of
a)Subroutines
b)functions
c)Procedures
d)None of
these
Q7.What is
the size(bytes) of int,float,char datatype ?
a)int=1,
float=2 char=3
b)char=1
,int=2, float=4
c)char=1
int=4, float=6
d)char=0,
int=1,float=2
Q8.which one
is not a data type?
a)char
b)int
c)void
d)None of
these
Q9 Which one
is not a secondary data type?
a)Array
b)pointer
c)void
d)None of
these
Q10 which
one is correct variable name?
a)ayu_h
b)89re
c)ayu@gh
d)sa@_h
Q11 what is
range of signed char datatype?
a)-128to 127
b)0 to 255
c)0 to 127
d)none of
these
Q12 what is
the range of unsigned int data type?
a) -32768 to 32767
b) 0 to 65535
c) 1 to 65535
d) none of these
Q13 if you
want the value of variable to persist between different function classes which storage class will be used?
a)static
b)auto
c)extern
d)register
Q14 what is
unary operator?
a)++
b--
c)both of
these
d)none of these
Q15.unary
operator work on how many operand?
a)1
2)3
3)2
4)0
Q16 Which
one is correct in terms of operator precedence?
a)multiply
has higher precedence as compared to divide operator
b)divide has
higher precedence tha n multiply
c)Both
multiply and divide have same precedence
d)None of the correct
Q17 A main()
function in a C language should be located
a)at the beginning
of the program me
b)at the end
of the program
c) in the
middle of the program
d)anywhere
in the program
Q18 How many
keywords are available in c?
a)32
b)33
c)34
d)36
Q19 Which
one is not a bitwise operator?
a)one’s
complement
b)right
shift
c)left shift
d)none of
these
Q20 which
operator has lowest precedence?
a)comma
b)multiply
c)substract
d)Assignment
Answers:
1)C
2)D
3)c
4)A
5)A
6)B
7)B
8)D
9)C
10)A
11)A
12)B
13)A
14)C
15)1
16)C
17)D
18)A
19)D
20)A
Hopefully
you enjoy this quiz .For any type of complaint regarding quiz please comment
Thankyu
Comments
Post a Comment