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:
- MGT610 Business Ethics Spring 2009 Final Term Paper
- ECO401 Economics midterm paper 2010
- FIN630 Investment Analysis & Portfolio Management Spring...
- MGT611 Business & Labor Law Spring 2009 Final Term...
- cS001 final term papers July 2011
- mth202 midterm paper download fall 2010 december
- FIN622 Corporate Finance Spring 2009 FInal Term Paper
- cs402 old midterm paper
- STA630 Research Methods Spring 2009 Final Term Paper
- MCM301 Communication skills Spring 2009 Final Term Paper
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
► 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
Sponsored Links
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)