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. 1 Dated: May 06, 14

Dear Student,

Quiz No. 1 of CS201 will be started from Thursday, May 15, 2014 and ends at Friday, May 16, 2014.  
Quiz No. 1 will cover 8-12 lectures.  There will be 10 questions in the quiz.

Share your Quiz here..............

thanks.

+ 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: 2153

.

+ 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. 

Permalink Reply by + Ahmad 5 hours agoDelete

Quiz CS201| Quiz Date: May 15, 2014 : 12 AM

Q1. The string in the array is terminated by a _______
zero
nil
null
one

Q2. We can define a matrix as__________ array.
Sorted
Unsorted
Single dimensional
Multi dimensional *

Q3. ___________character is used to indicate the end of the string.
string
New line *
Blank space
Null

Q4. In call by reference, __________ of a variable is passed to the called function.
Name
Data type *
Value
Address

Q5. A function’s prototype is written __________the function call.
After
Before *


Q.6 Characters of a string stored in an array can be accessed directly using array _________.

Manipulation *
Superscript
Postscript
Subscript

Q7. Null character is used to indicate the __________ of string.
start
end *
begin
middle

Q8. If an array has 50 elements, what is allowable range of subscripts?
0 – 49 *
1 – 49
0 – 50
1 – 50


Q9. Return type of a function that does not return any value must be ________.
char
int
void *

Q.10. What is the output of the following code if the 3rd case is true switch (var) { case ‘a’: cout”apple”endl; case ‘b’: cout”banana”endl; case ‘m’: cout”mango”endl; default: cout”any fruit”endl; }
mango *
mango any fruit
apple



Read more: CS201 Quiz no. 1 Semester Fall 2014 From 15-05-2014 To 16-05-2014 -... http://vustudents.ning.com/group/cs201introductiontoprogramming/for...

Read more at http://vustudents.ning.com/group/cs201introductiontoprogramming/for...

CS-201 Quiz No: 1

...

1- Return type of a function that does not return any value must be ________.

• Char
• Void
• Int
• void

2- Null character is used to indicate the __________ of string.

• Start
• End
• Begin
• middle

3- _________ will be used for enclosing function statements into a block.

• " "
• ()

4- What is the output of the following code, if the first case is true switch (var) { case ‘a’: cout”apple”endl; case ‘b’: cout”banana”endl; case ‘m’: cout”mango”endl; default: cout”any fruit”endl; } Select correct option:

• Apple
• apple anyfruit
• apple banana mango anyfruit
• none of above

5- When we access a multidimensional array, each array index is surrounded by __________.

• Single quotes ' '
• Double quotes " "
• Brackets []
• Commas , ,

6- If an array has 50 elements, what is allowable range of subscripts?

• 0 – 49
• 1 – 49
• 0 – 50
• 1 – 50

7- What will be the size of the array declared as int array[1000];

• 999
• 1000
• 1001
• 1002

8- All elements of an array must be of_________ data type(s).

• char and int
• Same
• Different

9- If we pass more than one arguments to a function then they are separated by ___________.

• Comma ,
• Colon :
• semicolon

10- To manipulate n-dimensional array ________ nested loops are required.

• n-2
• n-1
• n+1
• n

CS201-quiz_1. Solved with reference Date 15.5.14. by Masoom Fairy (All in One file)

Attachments:

Fairy gud keep it up & thanks for sharing 

file open nahi ho rahi.

Ali khalid  

Files are ok

Download PDF Files without IDM.

Internet download manager ko uninstall karo

then downlaod kro, IDM files ko damage kar daita ha

 

Or

 

PDf files IDM (Internet Download Manger) k sath download kerty waqt ALT Key Use  krain means Alt  push kye rkhyn jub tak fil download na ho jae  to PDF files sahi open hon gi

 

Or Check these links

Problem in downloading .pdf files or Past Papers Solved

 

PDF File Downloading Solution from Ning

 

Or

Download files without Uninstall IDM

Q1-In C-language the string “AZMAT” is equal to
option
Azmat
azmat
AZMAT *
NONE

Q2- For breaking complex problems into smaller pieces we use
IF ELSE
FUNCTIONS *
Breaks

Q3- Default mechanism of calling a function by passing it array is call by ________ and in case of passing variable is call by ________.

Reference, reference
Reference, value
Value, reference *
value, value

Q4-What will be the size of the following character array? char name[] = “Adeel”;
5
6
4 *
7

Q5- A function’s prototype is written __________the function call.
Before *
After
With

Q6- What is the correct syntax to declare an array of 15 elements of type float?
flost array[15]
float[15] array
flost [15]array
float aray[14] *

Q7- The ASCHI code of null character is___________
000 *
010
111
110

Q8- In C/C++; by default arguments are passed by _______ to a function.
Reference
Value *
Type
Data

Q9- The data type before a function name represents its,
return type *
function data
function arguments
functioon name

Q10- What will be the size of the array declared as int array[1000];
999*
1000
1001
1002



Read more: CS201 Introduction to Programming Quiz # 1 - Virtual University of ... http://vustudents.ning.com/group/cs201introductiontoprogramming/for...

Read more at http://vustudents.ning.com/group/cs201introductiontoprogramming/for...

Quiz of CS201

1. For breaking complex problems into smaller pieces we use _______.

2. In C/C++, by default arguments are passed by _______ to a function.

3. In C-language the string “AZMAT” is equal to______________

4. __________ of a variable means the locations within a program from where it can be accessed.

 5. If an array has 50 elements, what is allowable range of subscripts?

6. Null character is used to indicate the __________ of string.

7. We can access a global variable 

8. We can define a matrix as__________ array.

9. Switch support_______________ data

10. What will be the size of following array? int arr[29];

Today's CS 201 Quiz

Q.1 char name [] = “Hello World” ; In the above statement, a memory of _________ characters will be allocated
13
11
12
Q.2 A function is a block of statements that can be defined once and used ________ in the program.
one time
2 time
three time
as many times as user wants
Q.3 What will be the size of following array? int arr[29]
0
30
29
28
Q.4 Which of the following function call is “call by reference” for the following function prototype? int add (int *)
add(&x);

add(int x);

add(x);

add(*x);
Q.5 if
statement is used to terminate the processing of a particular case and exit from switch structure.

if

goto

break

continue

break i think
Q.6 will be used for enclosing function statements into a block.

""

()

[]

{}
Q.7 Default mechanism of calling a function by passing it array is call by ________ and in case of passing variable is call by ________

Reference, Reference

Reference, value

Value, Reference

Value, Value

Q. 8 What is the output of the following code, if the first case is true switch (var) { case ‘a’: cout”apple”endl; case ‘b’: cout”banana”endl; case ‘m’: cout”mango”endl; default: cout”any fruit”endl; }


apple anyfruit

apple banana mango*

none of above

apple only?
Q. 9 Null character is represented by _________ in C++.

/0

\0

\n

RSS

Today Top Members 

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

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

.