php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
cs201 solved & unsolved mid term paper spring 2011
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
[COLOR="rgb(244, 164, 96)"][size=14]papers in attachment [/SIZE][/COLOR]


MIDTERM EXAMINATION
Spring 2009
CS201- Introduction to Programming


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


A precise sequence of steps to solve a problem is called

► Statement

► Program

► Utility

► Routine

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


The Compiler of C language is written in

► Java Language

► UNIX

► FORTRON Language

► C Language

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


Initialization of variable at the time of definition is,

► Must

► Necessary

► Good Programming

► None of the given options

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


In if structure the block of statements is executed only,

► When the condition is false

► When it contain arithmetic operators

► When it contain logical operators

► When the condition is true

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


Which of the following function(s) is/are included in stdlib.h header file?

► double atof(const char *nptr)

► int atoi(const char *nptr)

► char *strcpy ( char *s1, const char *s2)

► 1 and 2 only

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


Dealing with structures and functions passing by reference is the most economical method

► True

► False

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


Pointer is a variable which store,

► Data

► Memory Address

► Data Type

► Values

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


Preprocessor program perform its function before ______ phase takes place.

► Editing

► Linking

► Compiling

► Loading

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


Which of the following can not be a variable name?

► area

► _area

► 10area

► area2

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.


Attached Files
.doc   Spring_2010_MidTerm_OPKST_CS201.doc (Size: 95.53 KB / Downloads: 714)
.pdf   CS201_MID_SPRING2006.pdf (Size: 93.39 KB / Downloads: 648)
.pdf   CS201_MID_SPRING2007_S1.pdf (Size: 270.65 KB / Downloads: 967)
.doc   CS201Spring2009_MidTerm_OPKST_CS201_IntroductiontoProgramming.doc (Size: 82.61 KB / Downloads: 620)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  VU Mid Term and Final Term Solved Papers: How to Use Past Papers Without Relying on T admin 0 14 11-03-2026, 05:24 PM
Last Post: admin
  MCM301 MIDTERM solve paper 2011 Vuhelper 4 24,807 03-07-2015, 04:34 PM
Last Post: Xpert
  if U need Solved papers of any Subject desireforheaven 187 59,100 07-12-2013, 03:11 PM
Last Post: ramzan-mubarak-2013
  mgt602 midterm paper 3000 mcq's Xpert 5 11,387 05-30-2013, 02:16 PM
Last Post: Vuhelper
  All Solved Past Papers Mid & Final Term 2008 And 2009 viki 19 16,039 06-09-2012, 05:38 PM
Last Post: gr8touchstone@hotmail.com
  SOLVED MIDTERM EXAMINATION spring 2010 CS610- Computer Network desireforheaven 8 4,072 05-16-2012, 03:26 PM
Last Post: sanam
  MID TERM PAST PAPER CS401 - Computer Architecture and Assembly SOLVE AND UNSOLVED usmanali126 2 6,416 04-13-2012, 03:27 PM
Last Post: Xpert
  Solved Paper MGT101 Fall 2009 Final Term viki 12 55,682 02-07-2012, 10:52 PM
Last Post: Xpert
  CS304 final term current paper spring Jily 2011 Vuhelper 1 3,547 02-04-2012, 10:34 PM
Last Post: roshi786
  Solved Paper of Final Term 2009 MTH101 Calculus And Analytical Geometry viki 8 12,057 02-04-2012, 12:47 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support