We have been working very hard since 2009 to facilitate in your learning Read More. We can't keep up without your support. Donate Now.

www.vustudents.ning.com

 www.bit.ly/vucodes + Link For Assignments, GDBs & Online Quizzes Solution www.bit.ly/papersvu + Link For Past Papers, Solved MCQs, Short Notes & More

# CS201 Mid Term Papers Fall 2010 ( 01~12 December 2010 ) All in One Discussion

CS201
Mid Term Papers Fall 2010 ( 01~
12 December 2010 ) All in One Discussion

Please Share Your current papers & Pattern to help each other in this Discussion.

Thanks

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

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

Views: 690

### Replies to This Discussion

Plzz Share the Today paper of CS201....
Cs201 fall 2010 solve paper 1 December
Attachments:
today’s Subjective Paper ( Mid Term 2010) date: 04-12-2010
Q: What operator do you use to assign a pointer the address of another variable or constant? (2marks)

Q: Identify each of the following function as string conversion function or string manipulating function;
• bouble atof (const char *nptr)
• char *strcpy (char *s1,const char *s2)
• --------------------------------------I forgot this one (2 marks)

Q: What happens when we increment a pointer? (3 marks)

Q: Can you use an assignment operator to assign the value of one C-string to another? (3 marks)

Q: What is the purpose and syntax of the const keyword? (5 marks)

Q: What will be the output of the following;
#include
using name space std:
union Num
{
int Value I;
float Value F;
double ValueD;
char Value C;
};
Void main ()
{
// Optional unionkeyword
// Value I = 100
NumTestValue = {100};
cout \ nInteger = “ TestVal.ValueIendl;
TestVal.Value F = 2.123;
cout “Float=” TestVal.ValueFendl;
cout”Uninitialzed double = “TestVal.Val D endl;
cout”Some rubbish???”endl;
TestVal.Value C = ‘U’;
cout”character = ‘ TestVal.Valueendl;
} (5 marks)
I have taken the cs201 mid term exam, and I can share the following information

1. The paper was relatively easier than the previous mid terms.

2. You can leave off lecture 19.

3. From lecture 20, only study the UNION thoroughly

4. Most mq's were similar to the past papers, and do study the int *const ptr, and arrays

5. If you have done some programming practice then you will easily attempt the last two questions as well

Best of Luck
today current paper cs201 5-12-2010
CS201

total 26 question thay

1-difference in pointer and veriable?
2-differenc in tellg() and tellp()
3-why we close a file after use?
call by value and call by reference?
ye short questio thy baaqi mcq,z thy

20 mcqs thay

1. give one use of pointer
2. bubble sort
3. what happened when we increment pointer
4. basic steps for file handling
5. which function is used in read/write while handling files

CS201 Introduction To Computing
My today’s Subjective Paper ( Mid Term 2010)

Q: What operator do you use to assign a pointer the address of another variable or constant? (2marks)

Q: Identify each of the following function as string conversion function or string manipulating function;
• bouble atof (const char *nptr)
• char *strcpy (char *s1,const char *s2)
• --------------------------------------I forgot this one (2 marks)

Q: What happens when we increment a pointer? (3 marks)

Q: Can you use an assignment operator to assign the value of one C-string to another? (3 marks)

Q: What is the purpose and syntax of the const keyword? (5 marks)

Q: What will be the output of the following;
#include
using name space std:
union Num
{
int Value I;
float Value F;
double ValueD;
char Value C;
};
Void main ()
{
// Optional unionkeyword
// Value I = 100
NumTestValue = {100};
cout \ nInteger = “ TestVal.ValueIendl;
TestVal.Value F = 2.123;
cout “Float=” TestVal.ValueFendl;
cout”Uninitialzed double = “TestVal.Val D endl;
cout”Some rubbish???”endl;
TestVal.Value C = ‘U’;
cout”character = ‘ TestVal.Valueendl;
} (5 marks)
today current paper cs201 5-12-2010
total 26 question thay

1-difference in pointer and veriable?
2-differenc in tellg() and tellp()
3-why we close a file after use?
call by value and call by reference?
ye short questio thy baaqi mcq,z thy

20 mcqs thay

1. give one use of pointer
2. bubble sort
3. what happened when we increment pointer
4. basic steps for file handling
5. which function is used in read/write while handling files
total 26 question thay
20 MCQS!

1-difference in pointer and veriable?
2-differenc in tellg() and tellp()
3-why we close a file after use?
4:-call by value and call by reference?

ONE MORE...

20 mcqs!

1. give one use of pointer
2. bubble sort
3. what happened when we increment pointer
4. basic steps for file handling
5. which function is used in read/write while handling files

Attachments:

## Latest Activity

19 minutes ago
19 minutes ago
Zohaib Hassan updated their profile
1 hour ago
Mani Siddiqui BS VIII posted discussions
2 hours ago
Mani Siddiqui BS VIII posted a status
"کسی بھی روز مجھے دل سزا سنا دے گا میں خواہشوں کا بہت قتلِ عام کرتا ہوں ,,,!!"
3 hours ago
4 hours ago

1

2

3

## HELP SUPPORT

This is a member-supported website. Your contribution is greatly appreciated!