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.

CS201 Current Midterm papers Dated 11-05-2012 to 22-05-2012  

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

.

+ 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 SHARE YOUR CURRENT PAPERS HERE 

THANKS 

If every student of cs201 share his/her current midterm paper here we can get upto 90% marks in each subject.

Please Share your Current Papers Questions/Pattern here to help each other. Thanks

Total 26 Questions.

Sharing my subjective questions here! i finished my exam just a min ago ;)

Identify each of these functions as character conversion functions or manipulation functions.

  1. int isprint( int c )

int tolower( int c )

 

How can we declare a character array, is it different from integer array declaration? Give one example of character array declaration.

Write the output of following program.

#include<iostream.h>

 

int main()

{

    int a[5] = {5, 1, 15, 20, 25};

    int i, j, k, l, m;

   

    i = ++a[1];

    j = a[1]++;

    k = a[i++];

    l = a[i--]*i;

    m = a[++i] - 1;

 

    couti" "j" "k " "l" "m;

   

    }

 

Write the code for a structure called Inventory having the following elements:

  • A character array named partName
  • An integer named partNumber
  • An integer named stock.

 

 

 

 

Write the code of a main() function which takes command-line arguments and returns an integer type value.

 

Write a program which defines two strings "Hello" and "Pakistan", merges both the strings using string manipulation function and displays on the screen.

 

 

Write the output of following program.

#include<iostream.h>

 

int main()

{

    int a[5] = {5, 1, 15, 20, 25};

    int i, j, k, l, m;

   

    i = ++a[1];

    j = a[1]++;

    k = a[i++];

    l = a[i--]*i;

    m = a[++i] - 1;

 

    couti" "j" "k " "l" "m;

   

    }

 

 

Thx pls anyone put the solution to these if possible.

mcqs are mostly from the past papers files which are available here! :)

And wut was the program to write for 10marks.

there was not any question of ten marks.. just 2 qs of 5+5 marks -_-

i had paper today..

  • one question was to write a program which converts upper case letter to lower case/// 
  • syntax of closing a program of myfile.txt
  • few questions about pointers

PLS share atleast the subjective questions other than just writing topic....

Guys n gals!! mauja maro....

Subject Questions...

Q1. Write a program which will input ten integers into a array then sort it and find maximum and minimum integer in array.

Hint: Finding maximum and minimum is quite easier in sorted array. (10 Marks)

Q2. open() & close() function memory utilization advantages. (3 marks)

Q3. write down a syntax in which we can find the size of structure in bytes. (3 Marks)

Q4. Difference between (*) and (&) in pointers. (mark 5)

Q5. int num is an array then assign its address to point myPtr. (Mark 5)

etc.... etc... etc... etc..

Note: pointers mein se zyada questions aaye hain. Ratte Mar lo... :)

Solution of Inventory Structure Questions.

Attachments:

RSS

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

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

.