Skip to main content

dsssb tgt c quiz

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

Popular posts from this blog

high level reasoning quiz 2

WELCOME  back to  high level reasoning quiz puzzles hope you enjoyed our first quiz.Usually when we prepare for competitive exam we think we can fight all the exams  i.e we prepare for bank exam  beside this  we also opt for ssc exams  in current scenario it seems fine because vacancy is decreasing and competition is increasing day by day  so to survive in this competition we have to explore all the oppurtunities but one thing we want to tell now competition is at peak we have to give best in our field in which we are preparing  every exam has different procedure,syllabus, especially  now banking exam pattern has changed drastically those days have gone where student  studied three month and cracked the po  now but you have to give atleast 6 months  increase your  level , go for higher level as you can, on the other side you if you are preparing ssc you should completely devote yourself to ssc because ssc demands hard labour , In a succinct way we want to say in  swami vivekanand sty

high level reasoning quiz 3

Forget what happened ,forget what will happen remember only what you have possible options  because if you are thinking about your future and past you are also wasting your current opportunities so focus on your current goal give your best and do what ever you want to do we will always with you. Quiz 3 Four friends Aarvind, Bharat ,chandrapaul and daniel went for an excursion with their wives preeti,,Revati,Sarvani,and Vanita not necessarily in the same order.Each couple hails from  a different city amongst Mumbai,Chennai,Kolkatta, and Hyderabad not necessarily in that order.They went to Agra to visit the Taj Mahal,Where they sat in a row.Each wife always sat to the immediate right of her husband. i)Bharat sat to the immediate right of Preeti. ii)Daniel is from hyderabad and Preeti is not from Mumbai. iii)Revati and her husband were sitting to the immediate right of the couple that hailed from chennai. iv)Chandrapaul and his wife were sitting to the immediate left of the couple

high level reasoning puzzle quiz 1

hello friends welcome to our blog we always believe  in innovation So now we are starting a quiz of high level reasoning puzzles which will help you in sbi po,ibps po mains exams etc.In each quiz we will post a high level reasoning puzzle we guarantee that these quizzes  will be unique and you will learn from these quizess.Now a days when exam level is unpredictable  so we have to prepare for the worst and practice for the hardest.As we always told you whatever the situation we will always with you. we will  post a high level reasoning puzzle and solution of this  puzzle will give with next quiz which will be posted in next two days. Quiz 1 Five friends meet every morning at sree sagar restaurant for an idle -vada breakfast.Each consumes a different number of idlis and vadas.The number of idlis consumed are 1,4,5,6 and 8.while the number of vadas consumed are 0,1,2,4,6.Below are some more facts about who eats what and how much.    i)The number of Vadas eaten by Ignesh