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

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

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

# CS201 Mid Term Papers Fall 2019 (14~26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material

CS201 Mid Term Papers Fall 2019 (14~26 December 2019) & All Solved Past Papers, Solved MCQs & Helping Material

Share you’re MidTerm Term Papers (Questions/Pattern) & Past Papers as well here to help each other. Thanks

Following type of Document can comments in this discussion:

## CS201 MidTerm Solved MCQs and Subjective with References by Moaaz

Note:

For Important Helping Material related to subject CS201 (Solved MCQs, solved past Papers, Short Notes, E-Books, FAQ, Short Questions Answers & more). You must view all the Discussion in this subject group.

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

Views: 1671

.

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

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

### Replies to This Discussion

CS201..
Loops iterations, functions calling techniques, diagonal of matrix [N][N], arithmetic solutions to check order, diagonal and quotient questions

Cs201 midterm 2019 fall dec 26

èWhat happens if the file 'myfile.txt' does not exist and we still try to open it using the function file.open(“myfile.txt”, ios:out)?

Would the open() function create a new file and open it OR it will generate an error?

èDetermine the output of the given code segment.

int x = 2;

switch(x){

case 1:

x += 1 ;

break ;

case 2:

x += 2 ;

case 3:

x +=3 ;

break ;

case 4:

x += 4 ;

break ;

}

cout x ;

èTransform the following If-else statement into switch statement.

if (x == 5)

...

else if (x == 10 || x == 11)

...

else if (x == 8)

...

else if (x == 9)

...

else

...

èWrite a C++ program which calculates the Net price of a book and displays it on the screen. The Net price of book can be calculated by the following formula:

Net price = Retail Price + Sales Tax + Income Tax

Retail Price, Sale Tax and Income Tax are taken as input from the user.

èWrite a program which opens a file named "writeFile.txt" and moves the file pointer 100 characters forward starting from the beginning of the file and then writes the message "Reached at position 101" at the new position in the file.

## Latest Activity

+ ! ! ! ❣ maho ❣ ! + posted a discussion

### .......

5 hours ago
5 hours ago
Bilal.Khan posted a status
"cs201 past papers required.."
6 hours ago
6 hours ago
6 hours ago
6 hours ago
6 hours ago
6 hours ago
7 hours ago
7 hours ago
7 hours ago
7 hours ago

1

2

3