CS201 CURRENTLY MIDTERM PAPER 2022
CS201
CS201 CURRENTLY MIDTERM PAPER 2022
: Cs201 Today Paper.
Subjective portion:
1. Write the functions to Sort the given arr[10] and also write minimum and maximum value where array[10]= {2,1,4,3,7,9,6,5,8} (5 marks)
2. Write a function for given statement
A) if age is less than 18 display "you are child"
B) if age is between 18 to 65 display "you are adult"
C) if age is greater than 65 display "you are old".(5 marks)
3. Write the output of the following functions
Union Sizeof()..... complete function given tha for given values of int i=15, char c= 'A'. (5 marks)
4. Write output of function cout"welcome to Virtual University" aisa simple tha (3 marks)
Objective portion:
Concept of
•Two dimension array
•Def. of function and •program def.
•Return def.
•Const int *ptr shows
•If () used for
•**Ptr me
•how u write 6 in 4th col and 3rd row of Array
•While () runs _ of more tim
CS201 CURRENTLY MIDTERM PAPER 2022
CS201
CS201 CURRENTLY MIDTERM PAPER 2022
Cs201
Mid Term Paper 2022 Date 18 July 2022
Mcqs
Rand value
Eof
C/C++ main function include (float** like that )
Error in program
Application software
Or basic quiz general mcqs
Long question
CS201 CURRENTLY MIDTERM PAPER 2022
Cs201
Cs201 McQs past paper sa aae tha 18 McQs and 5 question 3 short and 2 long question
2 short programming ae thi uska sirf output batana tha
1 long programming jisma number or address ma coding krni
1 long
a. n is odd but 11 is not.
b. Either Y is y.
CS201 CURRENTLY MIDTERM PAPER 2022
cs201
Long question
Q1: program swap the values generate output
Q2: Twain
CD ROM
Disk fragmentation
GPS
Which type of softwares
Short :
Twain stand for and it's drives
Error in program const ptr
Another question is
Convert program if and else if into switch statement
CS201 CURRENTLY MIDTERM PAPER 2022
: Cs201 Today Paper.
Msqs mostly past paper
Long Question
Find logical error
Program array[10] ..Store value at fith 6 th position ..
Program Array [10] find second maximum value..
Program total salary 50000 and deduct 5% ..find total tax ..or remaning salary...
CS201 CURRENTLY MIDTERM PAPER 2022
: Cs201 Today Paper.
: C's 201
18/july /2022
Long question
Q1: program swap the values generate output
Q2: Twain
CD ROM
Disk fragmentaation
GPS
Which type of softwares
Short :
Twain stand for and it's drives
Error in program const ptr
Another question is
Convert program if and else if into switch statement
Data types
While loop
do while loop
for loop
arrays
Function
Pointers
Switch statment break statment
And files
CS201 CURRENTLY MIDTERM PAPER 2022
: Cs201 Today Paper.
#CS201
3 programs thy
Aik if else wala
Aik structure sy
Aik recursive function
Aik translator wala theory question tha
R baki mcqs
CS201 CURRENTLY MIDTERM PAPER 2022
: Cs201 Today Paper.
CS201 CURRENTLY MIDTERM PAPER 2022
: Cs201 Today Paper.
0 Comments
Post a Comment