Skip to main content

dsssb tgt computer c++ quiz


TRY ,TRY & TRY until you succed   So keep trying we will always with you in  your credence

  Hello friends we are again here with c++ quiz .Again c++ quizzes will c onsist of  three quizzes  with 20 questions each  hope you  will enjoy it .sorry for the long gap but as we said  we always  believe on quality  not quantity hope you are gaining from these quizzes .please give us reviews so we can improve our quizzes .we will also start the quiz section of advance reasoning puzzles. so lets start quiz :

Q1 c++ is a
a)top down programming approach
b)procedurial oriented approach
c)Bottom up programming approach
d)None of these
Q2 default return type for all function in c++
a)int
b)float
c)void
d)char
Q3.c++ developed by whom and when
a)bjarne stratroup & 1980
b)dennis retchie &19882
c) bjarne stratroup&1982
d)none of these
Q4.what is reference variable in c++?
a)to create the alias name of particular variable and operator
b)to create pointer
c)to create address
d)none of these
Q5.which is known as compound assignment operator
a)+
b)=
c)+=
d)=+
Q6 if we are using the same function name to create function that perform a variety of different tasks this  is known as
a)function overloading
b)function polymorphism
c)none of these
d)both a and b
Q7  class is a
a)user define date type
b)same as structure
c)simple data type
d)none of these
Q8.Binding of data and function together  into a single class is known as
a)encapsulation
b)data binding
c)both of these
d)none of these
Q9.by default member of the class is
a)public
b)private
c)protacted
d)none of these
Q10 function and variable are collectively of a class called as
a)class member
b)class variable
c)class pointor
d)none of these
Q11.by default the members of structure are
a)public
b)private
c)protacted
d)none of these
Q12.to declare generic  pointor we use which data type
a)star
b)void
c)class
d)double
Q13. a variable declares as private can be directly accessed by
a)objects
b)through member function
c)through another private member
d)none of these
Q14.In c++ class variables are known as
a)objects
b)function
c)data members
d)none of these
Q15.class can be defined and used inside a function are known as
a)local clas
b)inherit class
c)base class
d)derived class
Q16.which namespace is used  in c++ by default?
a)ctd
b)std
c)gld
d)cin
Q17.is dynamic initialization is possible in c++
a)yes
b)no
c)none
d)both
Q18.what is use of scope resolution operator
a)to ascess global variable
b)to ascess local  variable
c)both of these
d)none of these
Q19 A inline function
a)wich is defined inside a class
b)consist of small code
c)complier have compulsion to accept his request
d)both a and b
Q20 When a language has the capability to produce new data type
a)extensible
b)overloaded
c)Enacapsulated
d)Reprehensible

Answers
1)a
2)a
3)a
4)a
5)c
6)d
7)a
8)c
9)b
10)a
11)a
12)b
13)b
14)c
15)a
16)b
17)a
18)a
19)d
20)a

Thankyou for viewing our quizess

for getting updates regarding our quizess follow our facebook page

https://www.facebook.com/dsssbtgtcomputer/?ref=aymt_homepage_panel










  






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