Welcome to PAKITWORLD!
I hope you will find PAKITWORLD forum useful...



 
HomeCalendarFAQSearchMemberlistUsergroupsLog inRegister
Search
 
 

Display results as :
 
Rechercher Advanced Search
Freelancer.com
Visitors
Live Trafic

Share | 
 

 CS201 Quiz Introduction to Programming C++ [7]

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin


Posts : 216
Join date : 2011-06-17
Location : Rawalpindi

PostSubject: CS201 Quiz Introduction to Programming C++ [7]   Sat Aug 06, 2011 6:20 pm

CS201 Quiz Introduction to Programming C++ [7]


Question # 1
Which one of the following operators is a unary operator?
1) : OR ( || )
2) : AND ( &&)
3) : XOR ( ^ )
4) : Complement operator ( ~ )

Question # 2
The statement i++; is equivalent to
1) : i = i + i;
2) : i = i + 1;
3) : i = i - 1;
4) : i --;


Question # 3
A variable which is defined inside a function is called
1) : Automatic variable
2) : Global variable
3) : Functional variable
4) : None of the given option


Question # 4
If we open a file stream myfile for reading, what will give us the current position of the file pointer?
1) : tellg()
2) : tellp()
3) : seekg()
4) : seekp()


Question # 5
Application Software’s are use to
1) : Type letters
2) : Control computer hardware
3) : Solve end user problems
4) : Develop Graphics


Question # 6
When we write a class template the first line must be:
1) : template < class class_type>
2) : template < class data_type>
3) : template < class T >, Here T can be replaced with any name but it is preferable.
4) : class template


Question # 7
When a macro takes arguments then it is called_________________.
1) : Function
2) : Procedure
3) : Parameterized macro
4) : Simple macro


Question # 8
By default an array of characters is passed by value to a function,
1) : TRUE
2) : FALSE
3) :
4) :

Question # 9
Using dynamic memory is more efficient then the static memory.
1) : True
2) : FALSE
3) :
4) :

Question # 10
Using dynamic memory is more _____________ then the static memory.
1) : Costly
2) : Expansive
3) : efficient
4) : Difficult
[You must be registered and logged in to see this link.]
Back to top Go down
View user profile http://pakitworld.board-directory.net
 
CS201 Quiz Introduction to Programming C++ [7]
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» Aircraft Quiz
» An Introduction to Geological Maps
» ECU programming for big injectors
» Fishfinder Introduction
» Introduction

Permissions in this forum:You cannot reply to topics in this forum
 :: MCS/BCS/MIT/BIT/BSCS :: Computer Science :: CS201 Introduction to Programming C++-
Jump to: