Today Paper(27-05-2010)
write syntex of switch sttment
Functions used to read/write more than a single character or a single line while using Files?
what is the purpose nd syntx of const?
difference between single dimensional and multi dimensional arry
in yptr the array size of y is 10. cn we increaee the array size up to 12?
can we assign the value of one c-string to another string?
Another Paper:-
16 mcqs the
which bit is used as a single bits? 2 marks
write one major use of pointer? 2 marks
write general syntax of function? 2marks
what is file handing and it is used in c++? 3 marks
program from pointer or function ? 5 marks
what is file,and explain the concept of file handling? 5 marks
Another Paper:-
16 MCQs. 80% from past papers.
difference between random access ans sequential access file? (10 marks)
which bit is used as a single bits? 2 marks
what is file handing?(3 marks)
aik program ki output btani thi.(3 marks)
aik program bana tha jis ki vlue n ho oor usy matrix ma banan tha smthing like that. (ya mjy nai ata tha) [10 marks]
Today Paper(26-05-2010)
write syntex of switch sttment
Functions used to read/write more than a single character or a single line while using Files?
what is the purpose nd syntx of const?
difference between single dimensional and multi dimensional arry
in yptr the array size of y is 10. cn we increaee the array size up to 12?
can we assign the value of one c-string to another string?
Another Paper:-
16 mcqs the
which bit is used as a single bits? 2 marks
write one major use of pointer? 2 marks
write general syntax of function? 2marks
what is file handing and it is used in c++? 3 marks
program from pointer or function ? 5 marks
what is file,and explain the concept of file handling? 5 marks
Another Paper:-
16 MCQs. 80% from past papers.
difference between random access ans sequential access file? (10 marks)
which bit is used as a single bits? 2 marks
what is file handing?(3 marks)
aik program ki output btani thi.(3 marks)
aik program bana tha jis ki vlue n ho oor usy matrix ma banan tha smthing like that. (ya mjy nai ata tha) [10 marks]
Today Paper(26-05-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;
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;
Another Paper:-
6 to 7 MCQs came form past papers
1 or 2 short questions came from past papers.
Some of the short questions that I remember were:
1. What is the difference between pre-increment and post-increment operator
2. One major use of pointer
3. If an array has elements 2^n, then what would be the maximum number of iterations required to search by binary and linear search? (I don't remember the exact statement of the question) (answer is on page # 118)
4. Write the procedure of data insertion in middle of the files by Merge Method practiced in older systems? (answer is given in page # 218, in handouts)
5. Functions used to read/write more than a single character or a single line while using Files? (read chapter # 19, on page 221 i think this concept has been discussed)
In the long question, a program was given and we were required to point out the compilation errors and correct them.
It was easy.
1 or 2 short questions came from past papers.
Some of the short questions that I remember were:
1. What is the difference between pre-increment and post-increment operator
2. One major use of pointer
3. If an array has elements 2^n, then what would be the maximum number of iterations required to search by binary and linear search? (I don't remember the exact statement of the question) (answer is on page # 118)
4. Write the procedure of data insertion in middle of the files by Merge Method practiced in older systems? (answer is given in page # 218, in handouts)
5. Functions used to read/write more than a single character or a single line while using Files? (read chapter # 19, on page 221 i think this concept has been discussed)
In the long question, a program was given and we were required to point out the compilation errors and correct them.
It was easy.
No comments:
Post a Comment