- Type
- Midterm past paper
- Course
- CS201 Introduction to Programming
- Size
- PDF 258 KB
- Updated
- 23 Oct 2026
You get 3 free files a day on the website. Add the Chrome extensionSign in with the extension for 30 a day.
Preview text
Text from pages 1, 2, 3 of 17. Download the file for all 17 pages.
UNSOLVED CS201 MIDTERM SUBJECTIVE QUESTIONS 2010 TO 2019
- Loops iterations.
- Functions calling techniques.
- Diagonal of matrix [N] [N].
- Arithmetic solutions to check order.
- Diagonal and quotient questions
Dec 17, 2019
Q1. Why program is evaluated? Two techniques of evaluation?
- Write three type of system software
- How system software control all the.....
- 2 programs were given ... Weight in kg convert it in pound and one more
- One question was from Array
- Errors Puchay Thy Aur kuch ki Output Show Karna thi
Q7. Write the functionality of following function: strcpy & strncpy (3 marks)
Q8. Using not operator write the output: true? False? (3 marks)
Q9. Write a program of 4 digits which gives the first and last digit : (5 marks)
Q10. Code given tha error find krny thy : (5 marks)
Q11. Program likhna tha : (5 marks)
- Program for class
- Write program to copy one array into another array and array of 5 elements
- Find errors in the given code
- Calloc and Malloc function
- Write program for constructor
- Difference between default and parameterized constructors.
- Use three variable to expose the dec, hex, and Oct.
- Write c++ programs with three variable salary, no. Of days and rate and salary account by the formula Salary= no. days*rate. Take out of no of days with the daily rate of 1000 per day.
- write c++ program with 2 variable (i) Calculate rows and columns (ii) Calculate transpose of matrix
- Function of default function
- If you agree prototype of ordinary function and special function of a class are same. Justify with comment.
- define output for given code (loop).
- Write salary program to calculate tax using switch statement.
- Use pointer to reverse the order of array.
- Show output for following code (strcpy, strcat) ke functions thay code main
- Output of the following code for loop
- Main () function ka procedure aya tha
- System software ki types or work
- Program 15 array change uppercase latter to lowercase latter and lowercase latter to uppercase latter aya tha
- 2 part thy wrong code ki identification krni the
Cin<< count: If x<y Int x; Else Int y;
Q32. 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)?
Q33. 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.
Dec 26, 2019
All statements like for loop, arrays, pointers, functions and file handling starting from lec no 17 onward, these are very imp topics for paper Jun 23, 2019
- Write the code of the following arrays; (i) Float array length 8 (ii) Float array length 8 to pointer
- Find the error in the following. Marks (3)
If(number/2==0) Cout" The number is even:"; Else() Cout" The number is odd:"; Getch();
- Write a program in C++ to calculate the Average Price of the book. Calculations given the. Inputs ly kr display krwana tha.
- Give the output of the following
Int It=1 nt=o s;
If(nt<number/2)
Coutit"\t"; S=nt+It Nt=It S=It
- Write a code to find the product. Product= number *2^5. Input ly kr output show krwani the. Jun 23, 2018
- Comments ka long sawal tha
- Programming Questions
- Software ka function pa kia asar hota
- Long Array Wala topic acha sy KR lena (Array main sy Program aye thy)
- F stream function ka program write krna tha
- Questions error find krny thy
- Voding m sy flie stream wala question tha [Marks 5]
- Lines hight light ki hui thin un ka batana tha k ye line ka is coding m kia kaam hy
- Array ka aik question tha add () name sy aik function bnana tha jis m 2 integer leny thy or un ka sum lena tha or result show krwana tha [Marks= 3]
- General syntax of switch statement
- Applications software’s with examples
- Output of program having arrays
- To write a program arrays of 10 elements. Sorting. Find minimum and maximum number Jun 23, 2018
- Write down the output of the code given below :
Hint: Size of char is 1 byte Size of int is 2 byte Size of float is 4 byte
union mytypes_t { char c; int i; float f; } mytypes;
Related CS201 files
All CS201 files →- CS201 Midterm Past Paper Spring 2010 Midterm DOC 20 KB
- CS201 Midterm Past Paper Spring 2006 Midterm PDF 97 KB
- CS201 Midterm Solved Paper 2014 Midterm DOC 180 KB
- CS201 Midterm Solved Quiz 1 2015 Midterm DOCX 20 KB
- CS201 Handouts Set 2 by VUBuddy Handout PDF 14.5 MB
- CS201 Grand Quiz Fall 2020 Quiz PDF 4.8 MB
Get more out of VUBuddy, for free
- Unlimited downloads
- The explanation behind every MCQ answer
- Study offline on slow data
- 30 downloads a day instead of 3
- Sign in and buy Pro Semester here
One Pro Semester membership works in both the extension and the app.