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.

# Cs201 All Current Mid Term Papers Fall 2013 ~ From (20 Dec , 2013 to 1 Jan 2014 )

All Current Mid Term Papers Fall 2013

From (20 Dec 2013 to 1 Jan 2014 )

Note:

PLZ Must Share Those Papers Files Also where u Study

Views: 3679

### Replies to This Discussion

Share Your Current Mid Term Papers (Questions/Pattern) from 20 December 2013 to 01 January 2014 to help each other.

Thanks

Can anyone help to solve these below questions.

If there are 2n elements in an array then what would be the number of iterations required to search a number using binary search and linear search?

Which header file must be included while handling files?

What is meant by C++ statement: const int *ptr = &x;

(i) An array day is declared as: int day[] = {1, 2, 3, 4, 5, 6, 7}; How many elements does array 'day' has?
(ii) If the declaration is changed as: int day[7] = {1, 2, 3, 4, 5, 6, 7}; How many elements does array 'day' has?

Write a void function( ); that takes integer numbers from the user and then displays the sum of odd and even numbers entered by the user. Your program should terminate if user enters a negative number

Write down the function definition if we want to pass the arguments to a function by reference without changing the values stored at that addresses.

What is meant by scope of identifiers? Differentiate between different scope of identifiers and explain them with examples?

Can you use an assignment operator to assign the value of one C-string to another?

Which bitwise operator returns true if both bits are different and returns false if both bits are same?

What will be the value of x after the execution of the following code segment?
int x =10;
int y =30;
int *xptr = &x;
x = *xptr + 10;

Write a program which reads a text file “PlayersInfo.txt” residing in the current directory.
Open the file PlayersInfo.txt in read mode and assign these values to the struct Player; assume order of the data in the file to be exactly the same as the order of struct attributes. The struct Player has following attributes
i) Name
ii) Height
iii) Age
iv) Score
v) Game
After reading the file and assigning values to the struct, in the end close the file PlayersInfo.txt

Write a recursive function that takes character array and starting subscript as arguments. In each recursive call, the function should display the string from subscript to the end of string. The starting subscript in first call should be 0. In each successive call, the subscript should increase by one and function should print the array from subscript to the end of string. The function should stop processing and return when null character encounters. Suppose the char string passed to the function is, "SampleString", then the function will print output as follows,
SampleString
ampleString
mpleString
pleString
so on....

Customer with structure variable cust1 What line of code should he write

Write a void function( ); that takes integer numbers from the user and then displays the sum of odd and even numbers entered by the user. Your program should terminate if user enters a negative number

Suppose ‘z’ is a variable of type int. What will be the result of x = 27/4:

Give the general syntax of definition of structure.

Consider the structure
struct Customer
{
int custnum;
int salary;
float commission;
};
A programmer wants to assign 2000 for the structure member salary in the above example ofstructure Customer with structure variable cust1 What line of code should he write

Write a C++ program that will determine if a departmental store customer has exceeded the credit limit on a charge account.
Program should input the following facts in five variables
1. Account number
2. Balance at the beginning of month (Beginning balance)
3. total of all items charged by customer this month (charges)
4. total of all credits (credits)
5. allowed credit limit
Calculate the new balance
New balance = Beginning balance + charges – credits
Determine if new balance exceeds the allowed credit limit. For those customers whose credit limit is exceeded. The program should display the message “Credit Limit exceeded.”

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

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

Write down the functions definition if we want to pass the argument to a function by reference without changing the values stored at address.

functions of strcpy and strncpy?3marks

output file?5 marks

detect and correct the coding (coding was about for loop) 5marks

had to make a statement for input file trans.txt i dun remember the exact question. 3marks

3 MARKS  question  ABOUT POINTER

Share Your Current Mid Term Papers (Questions/Pattern) from 20 December 2013 to 01 January 2014 to help each other.

Thanks

TOTAL 26 QUESTIONS

20 MCQS

1 TO 20 MCQ

QUESTION 21  2 MARKS      OUTPUT  OF THE PROGRAM

QUESTION 22  2 MARKS

QUESTION 23  3 MARKS      ABOUT OPEN CLOSE READ FILE

QUESTION 24  3 MARKS      ABOUT POINTER

QUESTION 25 5 MARKS       OUTPUT

QUESTION 26 5 MARKS         PROGRAM

50 % MCQ FROM PAST PAP

hmmm thx it is very helpful plzzz if you have any helping material related cs201 plzzzz share now bcz i need it on urgent basis bcz mera kal cs201 ka paper hai plzzzz

SARA,,, thanks for sharing ur paper..

Attention Students: You don’t need to go any other site for current papers pattern & questions. Because all sharing data related to current mid tem papers of our members are going from here to other sites. You can judge this at other sites yourself. So don’t waste your precious time with different links. Just keep visiting http://vustudents.ning.com/ for all latest updates.

paper aj easy tha  ye  or baat k meri tyari nai thi

MCQ's b pehly 6,7 lectures mein se thy or saary k saary short questions Array walay lecture mein se aye hoye thy ya us mein koi thora sa pointer ka touch tha 1 short question mein  coding krni thi i mean program likhna tha

xtra sheet 7 nai lany di wrna quize as it yahan post kr deti

well thx for your help i feel good ye sun ker k paper easy tha :P :P :P mera kal hai exam cs201 ka if koi help ker skti ho to plzzzz thx

hmmm thx bro

mera kal cs201 ka paper hy plz koi hlp de skta hy to de aj bht so ka papr tha lekn share srf sara r ╠ ₩İ\$Ħ ╣ne kia BAKI SB Q KHUDGHRZ BN K BETHY HAIN DO HLP ALLAH WILL HLP U

plz tell subjective from moaz or all new questions, anyone tell mcq kahan se prepare karain

1

2

3

4

5

## VIP Member Badge & Others

How to Get This Badge at Your Profile DP

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

Management: Admins ::: Moderators

Other Awards Badges List

## Latest Activity

+ ! ! ❥ муѕтι¢αℓ qυєєи! ! + updated their profile
1 hour ago
2 hours ago
2 hours ago
3 hours ago
Sadia updated their profile
3 hours ago
3 hours ago
Latif liked + ♥ Haniya khan's discussion HaPPy FaThER's DaY
3 hours ago
3 hours ago