Cs201 midterm papers by vuhelp can be downloaded in the form of .DOC and also in PDF. So enjoy and have fun. The attachments can be downloaded directly.View more random threads:
- Mth202 midterm papers all download december fall 2010
- CS504 Software Engineering Spring 2009 Final Term Paper
- PAK 301 Pakistan Studies MidTERM EXAM 2011
- CS403 midterm papers fall 2010 December 4
- Sta630 Research methods unsolved midterm papers fall 2010
- FIN630 Investment Analysis & Portfolio Management Spring...
- mgt211 fall 2010 midterm paper download
- ECO401 Economics Spring 2009 Final Term
- CS101 Introduction of Computing Final Paper 2009
- FINALTERM EXAMINATION Spring 2010 ENG101- English...
If want to solve these question students can discuss with us.
Question No: 1 ( Marks: 1 ) - Please choose one
Compiler is a
► System software
► Application Software
► Driver
► Editor
Question No: 2 ( Marks: 1 ) - Please choose one
If Num is an integer variable then Num++ means,
► Add 1 two times with Num
► Add 1 with Num
► Add 2 with Num
► Subtract 2 from Num
Question No: 3 ( Marks: 1 ) - Please choose one
For one byte there are _____ combinations of values that can be stored in computer.
► 26
► 27
► 28
► 24
Question No: 4 ( Marks: 1 ) - Please choose one
In C/C++ language the header file which is used to perform useful task and manipulation of character data is
► cplext.h
► ctype.h
► stdio.h
► delay.h
Question No: 5 ( Marks: 1 ) - Please choose one
Default case in switch statement is,
► Must
► Optional
► syntax error
► Necessary
Question No: 6 ( Marks: 1 ) - Please choose one
When break statement is encountered in switch statement, it
► Stops the entire program
► Stops the execution of current statement
Sponsored Links
► Exits from switch statement
► None of the given options
Question No: 7 ( Marks: 1 ) - Please choose one
What will be the result of arithmetic expression 6+27/3*3?
► 33
► 45
► 9
► 30
Question No: 8 ( Marks: 1 ) - Please choose one
What is the correct syntax to declare an array of size 10 of int data type?
► int [10] name ;
► name[10] int ;
► int name[10] ;
► int name[] ;
Question No: 9 ( Marks: 1 ) - Please choose one
How many dimensions does n-dimensional array has?
► n dimensions
► 2n dimensions
► (n+1) dimensions
► (n-1) dimensions (Array starts from 0th element)
Question No: 10 ( Marks: 1 ) - Please choose one
What will be the correct syntax to access the value of fourth element of an array using pointer ptr?
► ptr[3]
► (ptr+3)
► *(ptr+3)
► Both 1and 3
Question No: 11 ( Marks: 1 ) - Please choose one
Which of the following values C++ use to represent true and false?
► 1 and 0
► 1 and -1
► 11 and 00
► Any numerical value
Question No: 12 ( Marks: 1 ) - Please choose one
Declaring structures does not mean that memory is allocated.
► True
► False
Question No: 13 ( 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
Question No: 14 ( Marks: 1 ) - Please choose one
If a variable is passed by value to a function and the function makes some changes to that variable then it
► does not affect the original variable
► affects the original variable
► causes syntax error
► None of the given options
Question No: 15 ( Marks: 1 ) - Please choose one
In C/C++ the #include is called,
► Header file
► Preprocessor Directive
► Statement
► Function
Question No: 16 ( Marks: 1 ) - Please choose one
Loops are ------------------------ Structure.
► Decision
► Repetition
► Sequential
► Hierarchical
Question No: 17 ( Marks: 2 )
Which variable will be used in inner code block if we have the same names of variable at outer code block and inner code block?
Question No: 18 ( Marks: 2 )
Give one major use of pointer.
Question No: 19 ( Marks: 2 )
Which standard library is included when your program reads from, or writes to, files?
Question No: 20 ( Marks: 3 )
Perform left shift operation on a binary number 0101 and write the result in binary and decimal.
Question No: 21 ( Marks: 3 )
What is difference between variable and pointer?
Question No: 22 ( Marks: 5 )
Write a C/C++ program which defines an array of 10 elements.
This program should ask a number from the user and search this number in the array if the number exists in the array, it should display the location of the number otherwise display the message The number is not in the given array.
Question No: 23 ( Marks: 5 )
Write a C/C++ program which defines an array of 15 elements and fill the array with string "12players2teams".
This program should display that how many digits and alphabets the string "12players2teams" contains using Character handling functions.
Sample output of program:
Number of digits in string "12players2teams": 3
Number of alphabets in string "12players2teams": 12
Urgent call: 03455242488. | Virtual University Assignments
Virtual University GDBs | Virtual University Papers | Vu Projects | Vu Handouts
About Expert
There are currently 1 users browsing this thread. (0 members and 1 guests)