Thread: cs201 introducation to programming solved mcq and midterm paper fall 2010

1. cs201 introducation to programming solved mcq and midterm paper fall 2010

_______________are conventional names of the command line parameters of the ‘main()’ function.
Select correct option:

1. ‘argb’ and ‘argv’
2. ‘argc’ and ‘argv’
3. argc’ and ‘argu’
4. None of the given

In_________, we try to have a precise problem statement
Select correct option:

1. Analysis
2. Design
3. Coding
4. None of the given

Pointers are a special type of __________in which a memory address is stored
Select correct option:

1. variables
2. Location
3. Characters
4. None of the given

At the design phase, we try to break up the problem into___________
Select correct option:

1. functional units
2. non-functional units
3. small units
4. None of the given

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

1. 13
2. 11
3. 12
4. 10

Pointers work by pointing to a particular___________
Select correct option:

1. Value
2. variable
3. data type(doubtful)
4. None of the given

___________ Returns true if c is a digit and false otherwise.
Select correct option:

1. int isalpha( int c )
2. int isalnum( int c )
3. int isxdigit( int c )
4. int isdigit( int c )

The ASCHI code of null character is___________
Select correct option:

1. 000
2. 010
3. 111
4. 110

The increment of a pointer depends on its___________.
Select correct option:

1. variable
2. value
3. data type
4. None of the given

At the___________, we try to break up the problem into functional units
Select correct option:

1. analysis phase
2. design phase
3. Implementation phase
4. None of the given

To get the value stored at a memory address, we use the________________
Select correct option:

1. referencing operator
2. dereferencing operator
3. simple operator
4. None of the given

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

1. y[4];
2. y[3];
3. y[2];
4. none of given

A character is stored in the memory in _________
Select correct option:

1. byte
2. integer
3. string
4. None of the given

2. i want all cs201 mid term solved papers

3. they are uploaded dear. You can find them in the solved paper forum.

4. i want final term papers cs201 , cs601 ,eng201 with subjective question last five years please urgently needed thanx sir please

5. ok they will be uploaded soon.

6. aslamoelakum bhai ap ek pdf file bna kr un main sare mid term k papers solve attach kr dain to maza hi a jaye thanx

7. Ok but it is not possible. Size will be increased and hard to compile all in one. Will try.....

8. The increment of a pointer depends on its___________.
Select correct option:
variable
value
data type
None of the given
ye kis ny galt malt likhy howy hain?

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
keun ky array index 0 se start hota hai

9. hmmmzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

10. char name [] = “Hello World” ; In the above statement, a memory of _________ characters will be allocated
1. 13
2. 11
3. 12
4. 10

char mein aik zeda hota hai or hello world mein 11 hain char hello ky 5 or world ky 5 or aik space so 5+5+1=11
aik zeda kerny se 12 hi jayn gain 13 nai.