www.vustudents.ning.com

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

# Quiz No 4 CS_201 Jul 08, 2013 12:00 AM <TO> Jul 09, 2013 11:59 PM

Plz share your current quiz here.

Views: 1253

### Replies to This Discussion

Dear Friends,

Quiz is too difficult from these lecture before at-tamping quiz, I request you to memorize the syntax of friend class, friend function , reference function and information about reference.

Thanks

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.

thnks brthr

Thanks Zulfiqar brother

thanx so much bro

Question # 1 of 10 ( Start time: 06:14:05 AM )  Total Marks: 1

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

Select correct option:

• variables

Location

Characters

None of the given

Question # 2 of 10 ( Start time: 06:14:55 AM )  Total Marks: 1

If x is declare as an integer, what will be result of the given expression? x = 2 + 3 * 5 % ( 2 + 2 ) / 2

Select correct option:

4

3.5

• 3

3.75

Question # 3 of 10 ( Start time: 06:16:07 AM )  Total Marks: 1

Which of the following is not a valid variable name in C++?

Select correct option:

NameOfStudent

nameOfStudent

_studentName

• @studentName

Question # 4 of 10 ( Start time: 06:17:11 AM )  Total Marks: 1

What will be the result of arithmetic expression 6+48/4*3?

Select correct option:

10

40.5

• 42

41

Question # 5 of 10 ( Start time: 06:17:44 AM )  Total Marks: 1

< , <= , > , >= are called __________ operators.

Select correct option:

Arithmetic

Logical

• Relational

Conational

Question # 6 of 10 ( Start time: 06:18:15 AM )  Total Marks: 1

Pointers work by pointing to a particular___________

Select correct option:

Value

variable

• data type

None of the given

Pointers work by pointing to a particular data type

Question # 7 of 10 ( Start time: 06:18:35 AM )  Total Marks: 1

The most suitable data type for number 325.25 is ______.

Select correct option:

char

int

short

• float

Question # 8 of 10 ( Start time: 06:19:32 AM )  Total Marks: 1

How many times the following loop will execute? int j = 3; while(j > 0) { cout "Statements" endl; j -= 2; }

Select correct option:

0

• 1

2

3

Question # 9 of 10 ( Start time: 06:20:57 AM )  Total Marks: 1

Loops are _______________ Structure

Select correct option:

Decision

Sequential

• Repetition

None of the given options

Question # 10 of 10 ( Start time: 06:21:58 AM )  Total Marks: 1

Structures use ________ allocation.

Select correct option:

Queue

• Heap

Cache

Stack

thanks Tariq bhai

question 5 answer logical  see page 258

Question # 1 of 10

What is the sequence of event(s) when deallocating memory of an object using delete operator?

• Only block of memory is deallocated for object

• Only destructor is called for object

• Memory is deallocated first before calling destructor

• Destructor is called first before deallocating memory

C++ offers ____________ levels of data access control inside a class

An address is a ____________________ , while a pointer is a ________________.

Within the statement obj1=obj2; obj1 will call the assignment operator function and obj2 will be passed as an argument to function.

_______ operators are the ones that require two operands on both sides of the operator.

Assignment operator is used to initialize a newly declared object from existing object.

References cannot be uninitialized. Because it is impossible to _________________

When operator function is implemented as member function then return type of function ________.

• same type of data member

• diff type of data member

• any type of data

• ek option bholl gaya

• some text missing

anyone here from Lahore then plz tell me i want to study in group

my subject

Web designing

c++

Assembly

1

2

3

4

5

## VIP Member Badge & Others

------------------------------------

## Latest Activity

+ ! ! ❥ муѕтι¢αℓ qυєєи! ! + updated their profile
1 hour ago
2 hours ago
2 hours ago
3 hours ago