Download 1)How are the number functions defined inside a class defers from

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Addition wikipedia , lookup

History of logarithms wikipedia , lookup

Elementary mathematics wikipedia , lookup

Transcript
1)How are the number functions defined inside a class defers from member functions
defined outside. what is the keyboard used in making the definition inside(3)
2)What is the feature of OOPS which makes functions respond differently in different
conditions (2)
3)What are the instances where scope resolution operator is used in c++
4)What is a static member variable(1)
5)When a c++ program is executed for what purposes memory is allocated(3)
6)What is the will be the output of the following code(3)
Void main()
{
int ary[5]={1,2,3,4,5};
for(int i=0;i<5;i++)
{
cout<<ary;
}
}
7)Identify the inheritances (2)
x
x
y
x
x
y
y
z
y
z
p
z
8)Class distance
{
int x;
int y;
Public:
distance();
distane(int x,int y);
distance(&distance);
};
9)Identify the 3 instances of constructors(3)
Analyze the following c++ program and locate errors(3)
#include<conio.h>
Void main()
{
int num;
ifstream outfile;
cout<<”enter 5 marks”;
for(int i=1;i<5;i++)
{
cin>>num;
outfile<<num<<”\n”;
}
outfile.close();
}
10)Raju prefers DFD for system analysis .What do you mean by DFD what are other
tools available for system analysis (4)
11)In which stage of SDLC cost benefit analysis is done (2)
12)Show A( B+ C) using NOR gates only(3)
13)Draw the logic circuit for converting decimal numbers to the corresponding binary
numbers(4)
14)Prove by algebraic method demorgans IInd theorem(3)
15)Create a table with the name student with the following columns
name,batch,percentage and total marks . rollno should be integer name and batch should
be text of size 20 percent and total should be numericBatch should only have
commerce,science,humanities rollno should be unique and not null ,name should be
present mark should be between 200 and 600.update the percentage column using update
command.(5 marks)
16)how count can be used find out the number of students of science batch(2)
17)What do you mean by pattern matching? Quote an example from the above table (2)
Accno
name
Branch
Amount
1001
Kumar
Calicut
10000
1002
Salim
Trivandram
25000
1003
Fida
Kottayam
18000
1004
1005
John
Raju
Kannur
Thrissur
30000
5000
σ amount>5000(Deposit) (1)
19)П accno,amount(Deposit) (1)
18)
20)What is the cardinality of the table deposit(1)
21)Operand tables of Cartesian product operation have degrees as 3 and 5 respectively
what will be the degree of the resultant table(2)
22)Is foreign key realy a key column?(1)
23)A multinational company want to network its offices which spans the all across the
globe what communication will be most suited for establishing its network(3)
24)Name the devise used to convert data signal from computer to be able to transmit data
through telephone network(1)
25)Name the application level protocol which enables the transfer of hyperlinked text (1)
26)What is more suited for long distance communication synchronous communication or
asynchronous communication (3)