We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Quiz No. 2 DatedMay 19, 14

Dear Students,

Quiz No. 2 of CS201 will be started from Wedneday, May 28, 2014 and ends at Thursday, May 29, 2014.  

Quiz No. 2 will cover 13-17 lectures.  There will be 10 questions in the quiz.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 7254

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Replies to This Discussion

Please all students related this subject Share your online Quizzes here to help each other.thanks

 

Please share the question and their answers of this quiz if anyone has done.
Thanks. 

1. Base address is the memory address of _______ element of an array.

1st
2nd
3rd
4th

2. The statement cout yptr will show the __________the yptr points to.

value
memory
variable
non of ts

3. Whenever some number is added in an array name, it will jump as many _____________as the added number.

rows
value
comlm

4. dereferencing operator is represented by _______

*

+


5. To read command-line arguments, the main() function itself must be given ___________ arguments.

1
2
3
4

6. ‘multi [3] [3]' element can also be accessed by

**(multi+3)+3
**(multi+3)+3
*(multi+3)

7. In_________, we try to have a precise problem statement

Analysis

Design

Coding

8. At the___________, we try to break up the problem into functional units

analysis phase

design phase

Implementation phase

9. ______________________ contains functions for manipulations of character data.

ctype.h

iostream.h

string.h

10. What will be the correct syntax of declaration of the following statement? " ptr is a pointer to const int "

int const* ptr

int * const ptr

const int *ptr

const* int pt

where is solution ?

1. Pointers store the

value of variable
mmemory adress


2. here is a pointer variable named ptr of type float then address of which type of variable the ptr will store in it?

int
float
char

3. Base address is the memory address of _______ element of an array.

4. Whenever some number is added in an array name, it will jump as many _____________as the added number.

row
value
column
none


5. Each array declaration must provide the information about all these things except __________.

name
data type stored
location of first element
number of elements

6. ___________ Returns true if c is a digit and false otherwise.

int isalpha( int c )
int isalnum( int c )
int isxdigit( int c )
int isdigit( int c )


7. Pointers are a special type of __________in which a memory address is stored

variables
location
chrachters


8. The increment of a pointer depends on its___________.

variable
value
data type
none

9. The name of the array is a constant pointer which contains the memory address of the ____________of the array.
first elemnt
last emelmnt
second
none

1.

‘multi [3] [3]' element can also be accessed by

**(multi+3)+3  correct
**(multi+3)+3
*(multi+3)

2.

The statement cout yptr will show the __________the yptr points to.
value
memory       corect
variable
non of ts 

3.


What will be the correct syntax of declaration of the following statement? " ptr is a pointer to const int "
int const* ptr
int * const ptr
const int *ptr   correct
const* int pt

4.

For which array, the size of the array should be one more than the number of elements in an array?
Ø int
Ø double
Ø float
Ø char  correct

5. Stack is 

 answers   data structure

6. An array         having special character string data type

 answers char

1. _______________ Returns true if c is a letter and false otherwise.

int isalpha( int c )

int isalnum( int c )

2. Which header file must be included to use the functions tolower() and toupper()?

iostream.h
ctype.h
stdlib.h


3. To read command-line arguments, the main() function itself must be given ___________ arguments.

1
2
3
4


4. A ________is an array of characters that can store number of character specified.

Char
String
Multidimensional array
Data type


5. What will be the correct syntax of declaration of the following statement? " ptr is a pointer to const int "

int const* ptr
int * const ptr
const int *ptr
const* int ptr


6. The name of the array is a constant pointer which contains the memory address of the ____________of the array.

first element
second element
last element
none of above

7. Pointers store the ____________________

value of a variable
memory address
characters
none of above

8. Base address is the memory address of _______ element of an array.

1st
2nd
3rd
4th


9. To get the value stored at a memory address, we use the________________

referencing operator
dereferencing operator
simple operator
None of the given

CS201 Quiz No 2 | Date : May 29, 2014 : Time: 11:00 AM

1. Base address is the memory address of _______ element of an array.

1st element
2ad element
3rd element
none of above

2. In_________, we try to have a precise problem statement

Analysis
Desing
Coding
None of the given


3. Each array declaration must provide the information about all these things except

Name of the array
Type of data stored in the array
The location of the first element to be stored
Number of elements of the array

4. Pointers work by pointing to a particular___________

value
variable
data type
None of the given

5. are conventional names of the command line parameters of the ‘main()’ function.

‘argb’ and ‘argv’
‘argc’ and ‘argv’
‘argc’ and ‘argu’
None of above


6.Which header file must be included to use the functions tolower() and toupper()?


iostream.h
conio.h
ctype.h


7. The statement cout yptr will show the __________the yptr points to.

Value
memory address

8. In Analysis, we try to have a______________

Determined the inputs
Break of problem
Precise problem statement
None of the given


9. Pointers are a special type of __________in which a memory address is stored

Pointers are a special type of __________in which a memory address is stored

Pointers are a special type of __________in which a memory address is stored

10. ___________ Returns true if c is a digit and false otherwise.

int isalpha( int c )
int isalnum( int c )
int isxdigit( int c )
int isdigit( int c )

1. 1st element(Not sure)

2. Analysis

3. 

4. data type

5. ‘argc’ and ‘argv’

6. ctype.h(Not sure)

7. memory address

8. Precise problem statement

9. variable

10. int isdigit( int c )

solution b to btao

11. How many bytes an integer type pointer intPtr will jump in memory if the statement below is executed? intPtr += 2 ;

2
4
8
12


12. At the design phase, we try to break up the problem into___________

functional units
non-functional units
small units
None of the given


13. The increment of a pointer depends on its___________.

value
data type
variable
None of the given

14. Suppose that an integer type pointer contains a memory address 0x22f220. What will be the new memory address if we increment this pointer by one?

0x22f221
0x22f222
0x22f223
0x22f224

15. We can say that a pointer is a variable that hold the ____ address.

byte code
source code
memory
compiler


16. The name of the array is a constant pointer which contains the memory address of the ____________of the array.

2
3
4


17. Whenever some number is added in an array name, it will jump as many _____________as the added number.

rows
value
column
none of above


18. Pointers are a special type of __________in which a memory address is stored

variables
Location
Characters
None of above


19. Pointers store the ____________________

memory address
value of a variable
reference of variable
characters

11. 

12. functional units

13. data type

14. 

15. memory

16.  

17. rows

18. variables

19. memory address

14. 0x22f224

RSS

Latest Activity

Soha waris replied to + M.Tariq Malik's discussion EDU402 Curriculum Development Assignment No 01 Fall 2019 Solution & Discussion in the group EDU402 Curriculum Development
7 minutes ago
Profile IconSoha waris and ALI HASSAN joined + M.Tariq Malik's group
7 minutes ago
zobialatif posted a discussion
8 minutes ago
maria ali added a discussion to the group STA630 Research Methods
44 minutes ago
maria ali joined + M.Tariq Malik's group
44 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group EDU302 Human Development and Learning
50 minutes ago
+!!! Annie !!!+ liked №Oř's group Novels and Famous e books
50 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group CS204 Cyber Law
50 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group EDU433 Professionalism in Teaching
50 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group EDU654 Addressing problems of learning through technology and pedagogy
50 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group EDU630 Research Project - Education
50 minutes ago
+!!! Annie !!!+ liked + M.Tariq Malik's group TPT620 Teaching Practice (Long Term)
50 minutes ago
Ahad Kharal replied to + M.Tariq Malik's discussion CS625 Professional Practices Assignment No 01 Fall 2019 Solution & Discussion in the group CS625 Professional Practices
1 hour ago
Ahad Kharal joined + M.Tariq Malik's group
1 hour ago
DANI added a discussion to the group MGT101 Financial Accounting
1 hour ago
abdul ghafoor replied to + M.Tariq Malik's discussion PSY404 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 20-11-2019 in the group PSY404 Abnormal Psychology
1 hour ago
abdul ghafoor replied to + M.Tariq Malik's discussion PSY404 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 20-11-2019 in the group PSY404 Abnormal Psychology
1 hour ago
Profile IconAli Haider, samar bilal and + '' Tanveer '' joined + M.Tariq Malik's group
1 hour ago
ALEENA replied to + M.Tariq Malik's discussion How to Prepare The Mid Term Exams & Study in VU
1 hour ago
Isha Chuhdary updated their profile
1 hour ago

Today Top Members 

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service