[center][b]cs201 introducation to programming un-solved mcq

[/b][/center]
[b]
cs201 introducation to programming mcq for mid and final term papers, tests,quiz

_______________are conventional names of the command line parameters of the ‘main()’ function.
Select correct option:
‘argb’ and ‘argv’
‘argc’ and ‘argv’
‘argc’ and ‘argu’
None of the given






In_________, we try to have a precise problem statement
Select correct option:
Analysis
Design
Coding
None of the given




Pointers are a special type of __________in which a memory address is stored
Select correct option:
variables
Location
Characters
None of the given



At the design phase, we try to break up the problem into___________
Select correct option:
functional units
non-functional units
small units
None of the given




char name [] = “Hello World” ; In the above statement, a memory of _________ characters will be allocated
Select correct option:
13
11
12
10





Pointers work by pointing to a particular___________
Select correct option:
Value
variable
data type(doubtful)
None of the given




___________ Returns true if c is a digit and false otherwise.
Select correct option:
int isalpha( int c )
int isalnum( int c )
int isxdigit( int c )
int isdigit( int c )


The ASCHI code of null character is___________
Select correct option:
000
010
111
110




The increment of a pointer depends on its___________.
Select correct option:
variable
value
data type
None of the given



At the___________, we try to break up the problem into functional units
Select correct option:
analysis phase
design phase
Implementation phase
None of the given



To get the value stored at a memory address, we use the________________
Select correct option:
referencing operator
dereferencing operator
simple operator
None of the given




suppose we have int y[10]; To access the 4th element of the array we write_________
Select correct option:
y[4];
y[3];
y[2];
none of given



A character is stored in the memory in _________
Select correct option:
byte
integer
string
None of the given
http://ping.fm/XnAvr

[/b]

No comments:

Post a Comment