php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CS201 Midterm Paper May 2010
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#1
MIDTERM PAPER
CS201 May 2010


Q1: Write down the general syntax of switch statement. 2 Marks

Q2: Why we close a file after use? 2 Marks

Q3: When a pointer is incremented then how many bytes will it move to change its address?
2 Marks

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

Q5: write down the functions definition if we want to pass the argument to a function by reference without changing the values stored at address. 5 Marks

Q6: What will be the output of the following code segment 5 Marks

, int x= 6;
int y;
x = x << 1;
y = x >> 1;
cout << “x = ” << x << “\n”;
cout << “y = ” << y;
Reply


Messages In This Thread
CS201 Midterm Paper May 2010 - by Guru - 05-29-2010, 02:32 AM
CS201 Midterm Paper May 2010 - by viki - 06-03-2010, 08:56 AM
CS201 Midterm Paper May 2010 - by viki - 06-03-2010, 08:57 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  CS101 Introduction To Computing Solved Quiz Spring 2010 Guru 2 6,095 12-15-2014, 08:37 PM
Last Post: Vuhelper
  CS201-Introduction to Programming Quiz No.3 Discussion and Solutions Fall 2014 vuassignments 0 1,754 07-04-2014, 02:15 AM
Last Post: vuassignments
  CS201-Introduction to Programming Quiz No.1 Solutions Spring 2014 vuassignments 0 2,671 05-15-2014, 04:17 PM
Last Post: vuassignments
  CS201 Introduction to Programming Online Quiz No.4 Solution & Discussion Fall 2013 Vuhelper 0 2,330 02-08-2013, 05:08 PM
Last Post: Vuhelper
  CS201 Introduction to Programming Quiz No.1 Fall Semester 2012 Vuhelper 0 2,773 11-08-2012, 02:56 PM
Last Post: Vuhelper
  ECO401 Solved Current 500 MCQ's 14 July 2010 viki 5 5,423 05-04-2012, 11:48 PM
Last Post: Xpert
  CS504 Paper May 2010 viki 2 2,521 04-14-2012, 09:31 PM
Last Post: Xpert
  MGT-502 Organizational Behaviour Midterm 5-Papers Solved viki 4 8,402 04-02-2012, 01:35 AM
Last Post: Xpert
  MTH302 Business Mathematics & Statistics 22 november, fall 2010 share your quiz IQ-test 5 2,900 11-21-2011, 09:29 PM
Last Post: anjum1
  CS201 - Introduction to Programming quiz on 30th june spring 2011 Xpert 0 2,363 07-01-2011, 01:24 AM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support