Monday, 8 August 2011
Saturday, 6 August 2011
Friday, 5 August 2011
Thursday, 4 August 2011
Wednesday, 3 August 2011
MDTERM PAPER FALL 2011 MONTH OF MAY
CS101 - Introduction to Computing
1) What is the key of feature batch program?2) Name two languages which are used for client side scripting?
3) What is the purpose of MODEM?
4) What is
tag in HTML and how it is different from
tag?
5) Why microprocessor uses the binary number system and not the decimal or any other number system?6) What is the difference between interactive mode and batch mode application software?
difference between batch mode and interactive mode
this paper is shared by someone
long questions in CS201 midterm paper
are
Write a short note on files and also explain how they are handled in C++?
Is comparison possible in pointers? If yes what operators are used, if no justify your answers ?Briefly explain structure padding?
long questions in CS201 midterm paper are Write a short note on files and also explain how they are handled in C++?
Is comparison possible in pointers? If yes what operators are used, if no justify your answers ?
Briefly explain structure padding?
What is the difference between single and multi dimensional arrays?Explain the meaning of given C++ statement: const int *ptr = &x;Write about char str?
1)Differentiate between Random access and Sequential access 5marks
2)Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0. 5marks
ALL MCQS from past papers of 2010,2009
long Questions
Code for the programme prints diognals elements of matrix n by n, n is any number.
WRITE note on char strng.
programme out put was asked.
types of pointers and their uses.
one dimentional and two dimentional aray par note.
Q:- Give one major use of Pointer? (2 marks
Q:- What does the file mode parameter ios::binary mean? ( 2 Marks)
Q:- What are the basic steps of file handling? ( 3 Marks)
Q:- Differentiate between array & list? ( 3 Marks)
Q:- Differentiate between random access & sequential access file? (5Marks)
Consider the structure 2 Marks
struct Customer
{
int custnum;
int salary;
float commission;
};
A programmer wants to assign 2000 for the structure member salary in the above example of structure Paper copy from vu thirty nine dot com Customer with structure variable cust1 What line of code should he write
Why are arrays usually processed with for loop? 2 Marks
What are the basic steps of file handling? 3 Marks
When a pointer is incremented, what happens in the following cases? 3 Marks
a) Single-dimensional array
b) Two-dimensional array
int array[10]; is an integer array then write the statements which will store values at Fifth and Ninth location of this array. 5 Marks
Write down the output of the code given below : 5 Marks
Hint:
Size of char is 1 byte
Size of int is 2 byte
Size of float is 4 byte
#include <iostream.h>
union mytypes_t {
char c;int i;float f;
} mytypes;
int main(){
mytypes.c = 'H';
mytypes.i = 15;
cout << sizeof(mytypes)<<endl;
mytypes.i = 15;
mytypes.c = 'H';
cout << sizeof(mytypes)<<endl;
system("PAUSE");
return 0;
}
Q No: 1 Disk are ……. Divice having access time of …..millisecond. 1
Q No: 2 C is widely known as development language of ……operating. 1
Q No: 3 Codes the following coed segment, At with time number, error an occur. 1
1. Cont int x=10;
2. Inty =5;
3. Const int * ptr = 8x;
4. X + x ++;
Q No: 4 The keyword ….. is used to return some value from a function. 1
Q No: 5 let suppose
Union intor double {
Intival;
Double chanrva;
}
Main()
{ intor double VZA;
Int size;
Size=size of (VZA);}
What will be the value of variable “size” if int occupies 4 bytes and double occupies 8 bytes?
Q No: 6 The value of x after evaluating the expression x=10+3*4/2-1 will be. 1
Q No: 7 In call by reference ……… of a variable is pass to call function. 1
Q No: 8 To assigned a value to character type variable are used around the value. 1
Q No 9 What will be the correct syntax for initialization of pointer ptr with string "programming"?
Q No 10 Which character is inserted at the end of string to indicate the end of string?
Q No 21 Why matrixes always start with 0 indexes? 2
Q No 22 Which bit of a number is a sign bit? 2
Q No 23 What do you know about the Stream? Define the types of stream. 3
Q No 24 What is Difference between Array and List? 3
Q No 25 What are the differences are similarities between Structures and Unions? 5
deffrtiate b/w arrays and pointers 5 marks
how to insert the file in miidle of the something like tht from past papers 5 marks
correct the code from q past papers 3 marks
wrte the matrix code like q from past papers 3 marks
long QuestionsCode for the programme prints diognals elements of matrix n by n, n is any number.
WRITE note on char strng.programme out put was asked.
types of pointers and their uses.
20 mcq's 20 question short
obejctive from past papers
short question are of differentiation 2 of 2 marks
one question is of find the equation of the tangent line 3 marks
umm one is of chechking the real numbers 3marks
one is of finding the extrema using second derivative 5 marks MID TERM PAPER 2011
CS201 MDTERM PAPER FALL 2011 MONTH OF MAY |
long questions in CS201 midterm paper
are
Write a short note on files and also explain how they are handled in C++?
Is comparison possible in pointers? If yes what operators are used, if no justify your answers ?Briefly explain structure padding?
long questions in CS201 midterm paper are Write a short note on files and also explain how they are handled in C++?
Is comparison possible in pointers? If yes what operators are used, if no justify your answers ?
Briefly explain structure padding?
What is the difference between single and multi dimensional arrays?Explain the meaning of given C++ statement: const int *ptr = &x;Write about char str?
1)Differentiate between Random access and Sequential access 5marks
2)Write a declaration statement for an array of 10 elements of type float. Include an initialization statement of the first four elements to 1.0, 2.0, 3.0 and 4.0. 5marks
ALL MCQS from past papers of 2010,2009
long Questions
Code for the programme prints diognals elements of matrix n by n, n is any number.
WRITE note on char strng.
programme out put was asked.
types of pointers and their uses.
one dimentional and two dimentional aray par note.
Q:- Give one major use of Pointer? (2 marks
Q:- What does the file mode parameter ios::binary mean? ( 2 Marks)
Q:- What are the basic steps of file handling? ( 3 Marks)
Q:- Differentiate between array & list? ( 3 Marks)
Q:- Differentiate between random access & sequential access file? (5Marks)
Consider the structure 2 Marks
struct Customer
{
int custnum;
int salary;
float commission;
};
A programmer wants to assign 2000 for the structure member salary in the above example of structure Paper copy from vu thirty nine dot com Customer with structure variable cust1 What line of code should he write
Why are arrays usually processed with for loop? 2 Marks
What are the basic steps of file handling? 3 Marks
When a pointer is incremented, what happens in the following cases? 3 Marks
a) Single-dimensional array
b) Two-dimensional array
int array[10]; is an integer array then write the statements which will store values at Fifth and Ninth location of this array. 5 Marks
Write down the output of the code given below : 5 Marks
Hint:
Size of char is 1 byte
Size of int is 2 byte
Size of float is 4 byte
#include <iostream.h>
union mytypes_t {
char c;int i;float f;
} mytypes;
int main(){
mytypes.c = 'H';
mytypes.i = 15;
cout << sizeof(mytypes)<<endl;
mytypes.i = 15;
mytypes.c = 'H';
cout << sizeof(mytypes)<<endl;
system("PAUSE");
return 0;
}
Q No: 1 Disk are ……. Divice having access time of …..millisecond. 1
Q No: 2 C is widely known as development language of ……operating. 1
Q No: 3 Codes the following coed segment, At with time number, error an occur. 1
1. Cont int x=10;
2. Inty =5;
3. Const int * ptr = 8x;
4. X + x ++;
Q No: 4 The keyword ….. is used to return some value from a function. 1
Q No: 5 let suppose
Union intor double {
Intival;
Double chanrva;
}
Main()
{ intor double VZA;
Int size;
Size=size of (VZA);}
What will be the value of variable “size” if int occupies 4 bytes and double occupies 8 bytes?
Q No: 6 The value of x after evaluating the expression x=10+3*4/2-1 will be. 1
Q No: 7 In call by reference ……… of a variable is pass to call function. 1
Q No: 8 To assigned a value to character type variable are used around the value. 1
Q No 9 What will be the correct syntax for initialization of pointer ptr with string "programming"?
Q No 10 Which character is inserted at the end of string to indicate the end of string?
Q No 21 Why matrixes always start with 0 indexes? 2
Q No 22 Which bit of a number is a sign bit? 2
Q No 23 What do you know about the Stream? Define the types of stream. 3
Q No 24 What is Difference between Array and List? 3
Q No 25 What are the differences are similarities between Structures and Unions? 5
deffrtiate b/w arrays and pointers 5 marks
how to insert the file in miidle of the something like tht from past papers 5 marks
correct the code from q past papers 3 marks
wrte the matrix code like q from past papers 3 marks
long QuestionsCode for the programme prints diognals elements of matrix n by n, n is any number.
WRITE note on char strng.programme out put was asked.
types of pointers and their uses.
CS201
My long questions...
- what are function pointers
- Diference between tellg() and tellp()
- difference between random access file and sequence access file
- why do u close a file>
This was mine paper of today
My long questions...
- what are function pointers
- Diference between tellg() and tellp()
- difference between random access file and sequence access file
- why do u close a file>
This was mine paper of today
objective may say kuch bata deta hoo jo aya tha mujhay;
- C-language kis labortary may invent hoi.
- C is widely known as development language of _______ operating system.
► Linux
► Windows
► Unix
► Mac OS
- What will be the result of arithmetic expression 6+27/3*3?
► 33
► 45
► 9
► 30
- What will be the correct syntax for initialization of pointer ptr with string "programming"?
► char ptr = ’programming’ ;
► char *ptr = “programming” ;
► char *ptr = ‘programming’ ;
► *ptr = “programming” ;
- Which character is inserted at the end of string to indicate the end of string?
► new line
► tab
► null
► carriage return
- ek question that like variable say related jis ki option kuch is tarah say the;
int (i)
int [2
and subjective may say;
Q1- Write down the output of the following code?
int array[7], sum = 0;
for(int i=0;i<7;i++)
{
array = i;
sum+= array;
}
cout<< “ Sum = “ <<sum;
Q2- Explain C-String with an example?
Q3- anonymous structure and anonymous union k baray likhain?
Q4- 2 question practical related thay jis may code dya gya tha us ko theek kerna tha
geek ki option say.[/b]
- C-language kis labortary may invent hoi.
- C is widely known as development language of _______ operating system.
► Linux
► Windows
► Unix
► Mac OS
- What will be the result of arithmetic expression 6+27/3*3?
► 33
► 45
► 9
► 30
- What will be the correct syntax for initialization of pointer ptr with string "programming"?
► char ptr = ’programming’ ;
► char *ptr = “programming” ;
► char *ptr = ‘programming’ ;
► *ptr = “programming” ;
- Which character is inserted at the end of string to indicate the end of string?
► new line
► tab
► null
► carriage return
- ek question that like variable say related jis ki option kuch is tarah say the;
int (i)
int [2
and subjective may say;
Q1- Write down the output of the following code?
int array[7], sum = 0;
for(int i=0;i<7;i++)
{
array = i;
sum+= array;
}
cout<< “ Sum = “ <<sum;
Q2- Explain C-String with an example?
Q3- anonymous structure and anonymous union k baray likhain?
Q4- 2 question practical related thay jis may code dya gya tha us ko theek kerna tha
geek ki option say.[/b]
long questions in CS201 midterm paper
are
Write a short note on files and also explain how they are handled in C++?
Is comparison possible in pointers? If yes what operators are used, if no justify your answers ?
Briefly explain structure padding?
What is the difference between single and multi dimensional arrays?
Explain the meaning of given C++ statement: const int *ptr = &x;
Write about char str?
are
Write a short note on files and also explain how they are handled in C++?
Is comparison possible in pointers? If yes what operators are used, if no justify your answers ?
Briefly explain structure padding?
What is the difference between single and multi dimensional arrays?
Explain the meaning of given C++ statement: const int *ptr = &x;
Write about char str?
Q:- Give one major use of Pointer? (2 marks
Q:- What does the file mode parameter ios::binary mean? ( 2 Marks)
Q:- What are the basic steps of file handling? ( 3 Marks)
Q:- Differentiate between array & list? ( 3 Marks)
Q:- Differentiate between random access & sequential access file? (5Marks)
Q:- What does the file mode parameter ios::binary mean? ( 2 Marks)
Q:- What are the basic steps of file handling? ( 3 Marks)
Q:- Differentiate between array & list? ( 3 Marks)
Q:- Differentiate between random access & sequential access file? (5Marks)
MTH101
20 mcq's 20 question short
obejctive from past papers
short question are of differentiation 2 of 2 marks
one question is of find the equation of the tangent line 3 marks
umm one is of chechking the real numbers 3marks
one is of finding the extrema using second derivative 5 marks MID TERM PAPER 2011
FREQUENTLY ASKED QUESTIONS (FAQS)
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
| ||
|
| ||
| ||
| ||
| ||
|
CONTACT US
|
Subscribe to:
Posts (Atom)