Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS201 - Introduction to Programming full solve mid term papers 2011
#1
[SIZE="4"][SIZE="4"]full solve bundle of papers in attachmen[/SIZE][/SIZE]



Question No: 10 ( Marks: 1 ) - Please choose one


Which looping process is best, when the number of iterations is known?

► for

► while

► do-while

► all looping processes require that the iterations be known



Question No: 11 ( Marks: 1 ) - Please choose one


Which character is inserted at the end of string to indicate the end of string?


► new line


► tab

► null



► carriage return




Question No: 12 ( Marks: 1 ) - Please choose one


How many bytes are occupied by declaring following array of characters?
char str[] = “programming”;


► 10

► 11

► 12

► 13



Question No: 13 ( Marks: 1 ) - Please choose one


Which of the following header file defines the rand() function?





► iostream.h

► conio.h

► stdlib.h

► stdio.h



Question No: 14 ( Marks: 1 ) - Please choose one


Commenting the code _____________________


► Makes a program easy to understand for others.

► Make programs heavy, i.e. more space is needed for executable.

► Makes it difficult to compile

► All of the given options.



Question No: 15 ( Marks: 1 ) - Please choose one


What's wrong with this for loop?
for (int k = 2, k <=12, k++)

► the increment should always be ++k

► the variable must always be the letter i when using a for loop

► there should be a semicolon at the end of the statement

► the commas should be semicolons



Question No: 16 ( Marks: 1 ) - Please choose one


For which array, the size of the array should be one more than the number of elements in an array?


► int


► double




► float



► char


Attached Files
.zip   CS201.zip (Size: 88.08 KB / Downloads: 1,166)

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  MCM301 MIDTERM solve paper 2011 Vuhelper 4 24,754 03-07-2015, 04:34 PM
Last Post: Xpert
  if U need Solved papers of any Subject desireforheaven 187 58,875 07-12-2013, 03:11 PM
Last Post: ramzan-mubarak-2013
  All Solved Past Papers Mid & Final Term 2008 And 2009 viki 19 15,953 06-09-2012, 05:38 PM
Last Post: gr8touchstone@hotmail.com
  MID TERM PAST PAPER CS401 - Computer Architecture and Assembly SOLVE AND UNSOLVED usmanali126 2 6,362 04-13-2012, 03:27 PM
Last Post: Xpert
  Solved Paper MGT101 Fall 2009 Final Term viki 12 55,590 02-07-2012, 10:52 PM
Last Post: Xpert
  CS304 final term current paper spring Jily 2011 Vuhelper 1 3,490 02-04-2012, 10:34 PM
Last Post: roshi786
  Solved Paper of Final Term 2009 MTH101 Calculus And Analytical Geometry viki 8 11,967 02-04-2012, 12:47 AM
Last Post: Xpert
  CS101 Introduction to Computing FINAL TERM PAPERS SOLVED MCQS January 2012 Vuhelper 2 7,062 02-04-2012, 12:46 AM
Last Post: Xpert
  eng 201 final term paper Business and Technical English Writing January 2012 Vuhelper 3 7,238 01-30-2012, 06:52 PM
Last Post: Xpert
  CS101- Introduction to Computing FINALTERM EXAMINATION mega paper 2012 Vuhelper 0 7,595 01-29-2012, 10:18 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)