Select Your Subject Code

CS - Computer Science MGT MTH ECO ENG STA PAK PHY ACC
CS001 CS408 CS602 CS619 CS710 CS724 MGT111 MGT501 MGT610 MTH001 MTH603 ECO401 ENG001 STA301 PAK301 PHY101 ACC311
CS101 CS410 CS604 CS701 CS711 CS726 MGT201 MGT502 MGT611 MTH100 MTH201 ECO402 ENG101 STA630 PAK302 PHY301 ACC501
CS201 CS501 CS605 CS702 CS712 CS305 MGT211 MGT503 MGT613 MTH101 MTH203 ECO403 ENG201 STA730


CS301 CS502 CS606 CS703 CS713 CS411 MGT301 MGT510 MGT619 MTH202 MTH311 ECO404 ENG301



CS302 CS504 CS607 CS704 CS716 CS412 MGT401 MGT520 MGT620 MTH301 MTH502 ECO406 ENG401



CS304 CS506 CS609 CS706 CS718 CS413 MGT402 MGT601 MGT703 MTH302
ECO704




CS401 CS507 CS610 CS707 CS720 CS509 MGT404 MGT602 MGT704 MTH401
ECO501




CS402 CS508 CS614 CS708 CS721 CS621 MGT411 MGT603 MGT705 MTH501






CS403 CS601 CS615 CS709 CS723 CS622 MGT501 MGT604 MGT711 MTH601

CS201- midterm solved mcqs - Introduction to Programming

By:


CS201 Introduction to Programming midterm  MCQ's 

CS201 Introduction to Programming.Download/upload Video Lectures, Handouts, Helping Materials, Assignments Solution, Online Quizzes, GDB, Past Papers, Solved Papers and more


CS201- Introduction to Programming 

Latest Solved Mcqs from Midterm Papers

May 07,2011 
Lectures 1-22

MIDTERM EXAMINATION 
Spring 2010 
Question No: 1 ( Marks: 1 ) - Please choose one 
In order to get 256 from the number 2568 we divide this number by 10 and take, 
► Its remainder 
► The number 
► Its quotient 
► Its divisor 

virtual study solutions

Question No: 2 ( Marks: 1 ) - Please choose one 
The correct syntax of do-while loop is, 
► (condition ) while; do { statements; }; 
► { statements; } do-while (); 
► while(condition); do { statements; }; 
► do { statements; } while (condition); 

CS201 Midterm solved mcqs

Question No: 3 ( Marks: 1 ) - Please choose one 
Which of the following function(s) is/are included in stdlib.hheader file? 
► double atof(const char *nptr) 
► int atoi(const char *nptr) 
► char *strcpy ( char *s1, const char *s2) 
► 1 and 2 only  (Pg 191)

CS201 Short Notes

Question No: 4 ( Marks: 1 ) - Please choose one 
If the break statement is missed in switch statement then, 
► The compiler will give error 
► This may cause a logical error  (Pg 76)
► No effect on program 
► Program stops its execution 

CS201 Solved Papers

Question No: 5 ( Marks: 1 ) - Please choose one 
The data type before a function name represents its, 
► Return Type ( Pg 499)
► Function data 
► Function arguments 
► Function name 

Question No: 6 ( Marks: 1 ) - Please choose one 
Member function tellg() returns the current location of the _____________ pointer. 
► tellptr() 
► write() 
► seekg() 
► get() (Pg 215)

Question No: 7 ( Marks: 1 ) - Please choose one 
What does 5 | 6 , evaluate to in decimal where ‘|’ is bitwise OR operator?
 ►3 
 ►4 
 ►5 
 ►7 
5 | 6 = 
0 1 0 1 
0 1 1 0 
-------- 
0 1 1 1 = 7 

Question No: 8 ( Marks: 1 ) - Please choose one 
C is widely 
known as development language of _______ operating system. 
► Linux 
► Windows 
► Unix (Pg 12)
► Mac OS 

Question No: 9 ( Marks: 1 ) - Please choose one 
What will be 
the result of arithmetic expression 6+27/3*3? 
► 33 
► 45 
► 9 
► 30 

Question No: 10 ( Marks: 1 ) - Please choose one 
How many 
bytes are occupied by declaring following array of characters?
char str[] = “programming”;
► 10 
► 11 
► 12 
► 13 

0 comments:

Post a Comment