N.B The Answers Are in The Last Page
N.B The Answers Are in The Last Page
C BY TSEDALU FENTAW
C++
1. Which one of the following is true about computer arranged by ascending order
based on size?
A, supper computer->mainframe computer -> minicomputer -> micro computer
B, general purpose -> super -> mainframe -> mini
C, micro -> mini -> mainframe -> supper
D, mini -> micro -> mainframe -> supper computer
2. _________ is a computer program that translate a series statement written in a
source code in to object code.
A, assembler B, compiler C, interpreters D, editor
3. ________ is a collection of one or more variable types grouped together that can be
referred using a single name
A, pointer B, function C, structure D, array
4. Which one of the following that affect the function value during calling function?
A, address by value B, address by reference
C, address by value and reference D, all
5. Which function is fast and efficient during execution time
A, recursive function B, inline function
C, overloading function D, Default function
6. #include <iostream.h>
Using namespace std;
Int main(){
Int x= {12,9,4,7,23};
For( int i=1 ; i<=5 ; i++ ){
If(x[i]%2==0){
Continue;
}
Cout<<x[i];
}
Cout<<”end”;
}
B, user must be authorized carefully to reduce the chance of a user giving access
to anintruder
C, computer system must be physically secured against entry by intruders or
terrorists
D, none
4.
1 N
course offered in section
meeting
A, 1 B, 2 C, 3 D, 4
INTERNET PROGRAMMNG
OPERATING SYSTEM
C, A and B D, none
COMPUTER NETWORKING
C, used for flow and error control D, used to send small size messages
5. Transport layer supports
A, host to host delivery B, process to process delivery
C, node to node delivery D, none
6. In datagram which one is false
A, there is resource reservation
B, datagram switching
C, in datagram divided the packet into fixed and variable size
D, each packet is treated independently of all other
7. DHCP is assigned in
A, internet B, port C, id D, network
8. Which address is invalid
A, 10.120.30.41
B, 1.31.125.155.160
C, 155.130.262.55
D, B and C
9. Which of the following is the function of datalink layer
A, datalink control B, framing C, media access control D, all
ANSWERS INDEX
C++ 1,C 2,B 3,C 4,B 5,B 6,B 7,operating system
COMPUTER ARCHITECTUR
MICROPROCESSOR
INTERNET PROGRAMMING
OPERATING SYSTEM
COMPUTER NETWORK