Cs201 10:30AM

Mcqs from handouts 

Short question

1Q:what is translator?name two kinds of translator?

2Q: program (array)

3Q: program (loop)

Longs question

1Q: write some steps for writing and efficient program in c language

2Q: file handling

3Q: program (pointer)


sslam o alikum.. cs201 ka paper boht asan tha files se mcqs bh the to wese boht easy the

subjective me 

1) correct syntax error 

int x:

x==5;

cout<<x>>endl;

-------

3 error hn us ne ak semicolon lagna hy pheli line me dusra value assign k ley = operator use hota hy jo k == dia hoa.. or third Extraction operator dia hoa << lagna tha cout  statement me

2) ptr ka program k sytax errors

3)  Welcome to vu  

 how many bytes are occupied in this array


long me


output nikalna tha 

c=5;

cout.....

c=-- 

bs concept dekh len kitni bar cout show ho ga output me

or last me ak 

0

1

2

3

4

5

 ye output aye program likhna tha using for loop and if condition



Cs201 paper

Mostly mcq files me se thi or history of c++ me se b ay thy

Question

1: Number 2 is greater than num1 prove krna tha

2: arithmetic operator ko kesy sol krt hn 

() / %+ - *

3: coding di hoi thi or output btna tha

4: array wali aik coding thi 

5: 2 rows and 5 column ka program likhna tha


CS201 ka paper kisi bhi file se nahi aaya tha pora paper conceptual tha, zada tar Array se related or programs dye thy unkay output ye MCQs thay long main Tax ka program bnana tha aik main syntax error batana tha

s201 paper 


🌸Mostly msq files se aye thya 

🌸Or long short main program aye thay 

 output fine karni hai 


🌸Or program banana bi tha 



Paper to much easy tha


Cs201 paper

Mostly mcq files me se thi or history of c++ me se b ay thy

Question

1: Number 2 is greater than num1 prove krna tha

2: arithmetic operator ko kesy sol krt hn 

() / %+ - *

3: coding di hoi thi or output btna tha

4: array wali aik coding thi 

5: 2 rows and 5 column ka program likhna tha