Académique Documents
Professionnel Documents
Culture Documents
(a) RD
(c) MD
(d) CD
(b) 1940
(c) 1980
(d) 1950
(b) C:\windows\system32
(d) C:\
(b) KEYDOS
(d) DOSKEY
(b) Encapsulation
(d) Inheritance
(b) Duplex
(d) All the above
(a) Classes
(c) Encapsulation
(b) Objects
(d) Inheritance
class MY
{
int a;
public:
MY(int x){a=x;}
void print() {cout<<a;}
}obj;
20.
#include <IOStream.H>
void main()
{
int a=15, b=10;
cout<<++a<<" "<<++b<<" "<<a<<" "<<b;
}
21.
#include <IOStream.H>
void main()
{
int a=32, *p=&a;
char c='A', &d=c;
d+=a;*p+=c;
cout<<a<<" "<<c;
}
(a) operator
(b)function
(a) 129 a
(a) int a;
(c) linked list
18.
#include <IOStream.H>
void main()
{
int a[]={5,7,9,11,14};
int *p=a+2;
cout <<++*p++;
}
(b) 10
(c) 11
(a) YOUR
(c) MY MY
(d) 7
19.
#include <IOStream.H>
void main()
{
int p[]={2,6,7,1,7};
for(int i=1;i<3;i++)
cout<<i[p]<<" ";
}
(a) 2 6
(b) 7 1
(c) 6 7
(c) 132 a
(d) a 132
22.
#include <IOStream.H>
void print(char **c)
{
*c="MY MY";
}
void main()
{
char *p="YOUR";
print(&p);
cout<<p;
}
(a) 5
(b) A 129
23.
#include <IOStream.H>
int& print(int &a, int &b)
{ if (a>b) return a; else return b; }
void main()
{
int x=10, y=20;
print(x,y)=30;
cout<<x <<" "<<y;
}
(d) No output-error
37.
Which of the following is not an example of
FOSS (Free Open Source Software)
(a) Linux
(b) PNG
(c) MySQL
(d) Mozila FireFox
39.
Original ASCII has _____ possible code
groups
(a) 256
(b) 65536
(c) 64
(d) 128
40. Which of the following memory is an optical
memory?
(a) Bubble Memory
(b) CD-ROM
(c) Core memory
(d) Floppy disk
41.
Fastest LAN is
(a) Token bus
(c) Token ring
(b) Ethernet
(d) FDDI
42.
The default Subnet mask is
(a) 127.0.0.1
(b) 224.0.0.0
(c) 255.255.255.0
(d) all of the above
43.
-3-
(a) 25
(b) 80
(c) 125
(d) 123
44.
CDMA is used in
(a) Wireless in local loop
(b) Allocating a wireless channel
(c) Both (a) and (b)
(d) None of the above
45.
Mozila includes which of the following
(a) A web browser
(b) An email client
(c) HTML editor
(d) All of the above
(b) then
(c) goto
(d) while
49. What will happen when you compile and run the
following code?
(a) System.out.println(Math.floor(-4.7));
(b) System.out.println(Math.round(-4.7));
(c) System.out.println(Math.ceil(-4.7));
(d) System.out.println(Math.min(-4.7));
(c) getPreferredSize( )
(d) getLayout( )
(a) MIS
(b) Structured programming
(c) CODASYL specification (d) none of the above
70. The highest level in the hierarchy of data
organization is called
61.
What is the result of expression 5.45 +
"3.2"?
(a) The double value 8.6 (b) The string ""8.6"
(c) The long value 8.
(d) The String "5.453.2"
(a) Spreadsheet
(b) word processor program
(c) Graphics program (d) All of the above
(b) Key
(d) Alternate key
(b) open
(c) fetch
(d) initialize
(a) top
(b) bottom
(c) center
(d) middle
(b) Black
(b) Procedural
(d) Interactive
(a) Conceptual
(c) Imaginary
(b) Virtual
(d) Physical
(a) 3,5,6,7,9,10,11,12,13,14,15
(b) 0,1,2,4,8
(c) 3,5,6,7,9,10,11,12,13,14,15
(d) 0,1,2,4,8
(b) drop
(c) rollback
(d) truncate
(a) 2
(a) 3 / 5 7 + 10 / 4
(b) (((3 + 5) (7 / 10 ))/ 4)
(c) (3 / (((5 7) + 10) / 4))
(d) 3 + 5 7 / 10 / 4
(b) 3
(c) 1
(d) None
(a) 0
(a) 3
(b) A+B
(c) AB
(d) 1
(c) 1
(d) 1.5
(a) PQ + PQ
(c) PQ + PQ
(b) 4.5
(b) (P+Q)(P+Q)
(d) (P+Q)(P+Q)
-7-
(b) Odd
(c) 2