1mark +1 CSC
1mark +1 CSC
1mark +1 CSC
(a) Vacuum tubes (b) Transistors (c) Integrated circuits (d) Microprocessors
(a) Thermal printer (b) Plotter (c) Dot matrix (d) inkjet printer
(a) Warm booting (b) Cold booting (c) Touch boot (d) Real boot.
8. Expand POST
(a) ROM (b) RAM (c) Flash drive (d) Hard disk
A) 1000 B) 8 C) 4 D) 1024
A) F B) E C) D D) B
(A) Boolean algebra (B) Gate (C) Fundamental gates (D) Derived gates
3. A + A = ?
4. NOR is a combination of ?
(A) Fundamental Gate (B) Derived Gate (C ) Logical Gate (D) Universal gate
(a) Input devices (b) Output devices (c) Memory device (d) Microprocessor
(a) ALU (b) Control unit (c) Cache memory (d) register
4. Which of the following device identifies the location when address is placed in the memory
address register?
(a) Hard disk (b) Main memory (c) Cache memory (d) Blue-Ray disc
7. How many memory locations are identified by a processor with 8 bits address bus at a time?
8. What is the capacity of 12cm diameter DVD with single sided and single layer?
(a) USB port (b) Ps/2 port (c) SCSI port (d) VGA connector
2. Which is the default folder for many Windows Applications to save your file?
3. Under which of the following OS, the option Shift + Delete – permanently deletes a file or folder?
a. F2 b.F4 c.F5 d. F6
(c) Label the parts of a bicycle. (d) Explain how a bicycle works.
3. Omitting details inessential to the task and representing only the essential features of the task is
known as
4. Stating the input property and the input-output relation a problem is known
(a) the responsibility of the algorithm and the right of the user.
(b) the responsibility of the user and the right of the algorithm.
(c) the responsibility of the algorithm but not the right of the user.
1. Suppose u, v = 10 ,5 before the assignment. What are the values of u and v after the sequence
of assignments?
1 u := v
2 v := u
2. Which of the following properties is true after the assignment (at line 3)?
1 - -i, j = 0, 0
2 i, j := i+1, j-1
3--?
1 if C1
2 S1
3 else
4 if C2
5 S2
6 else
7 S3
Executes
1 S1
2 while C
3 S2
4 S3
(a) (1) only (b) (2) only (c) both (1) and (2) (d) neither (1) nor (2)
i := 0
while i ≠ 5
i := i + 1
(a) at the start of the loop. (b) at the start of each iteration
(c) at the end of each iteration (d) at the start of the algorithm
2. We wish to cover a chessboard with dominoes, the number of black squares and the number of
white squares covered by dominoes, respectively, placing a domino can be modeled by
m, n := m+2, n+3
(a) Charles Babbage (b) Bjarne Stroustrup (c) Bill Gates (d) Sundar Pichai
(a) CPP (b) Advanced C (c) C with Classes (d) Class with C
(a) Rick Mascitti (b) Rick Bjarne (c) Bill Gates (d) Dennis Ritchie
(a) Keywords are the reserved words which convey specific meaning to the C++
compiler.
(c) An integer constant must have at least one digit without a decimal point.
(a) Object code (b) Source code (c) Executable code (d) All the above
5. How many bytes of memory is allocated for the following variable declaration if you are using
Dev C++?
short int x;
char ch = ‘A’;
ch = ch + 1;
8. Which of the following operator returns the size of the data type?
(A) No statement (B) Empty statement (C) Void statement (D) Zero statement
3. The set of statements that are executed again and again in iteration is called as:
6. How many times the following loop will execute? for (int i=0; i<10; i++)
(A) Nested loop (B) Inner loop (C) Inline loop (D) Nesting of loop
CHAPTER 11 – Functions
1. Which of the following header file defines the standard I/O predefined functions ?
4. Which of the following function is with a return value and without any argument ?
A) > B) & C) % D) ::
a) 2 b) 5 c) 6 d) 4
a) 2 b) 3 c) 4 d) 5
4. By default, a string ends with which character?
a)\o b) \t c) \n d) \b
(a) it will not allocate any memory (b) it will allocate the memory
struct Time
int hours;
int minutes;
int seconds;
}t;
struct employee
int empno;
char ename[10];
}e[5];
(a) cout<<e[0].empno<<<e[0].empno<<empno<ename;
(b) cout<<e[0].empno<<ename;
(c) (c)cout<empno<ename;
(d) (d) cout<<e.empno<<e.ename;
10. When accessing a structure member ,the identifier to the left of the dot operator is the name
of
(a) structure variable (b) structure tag (c) structure member (d) structure function
CHAPTER 13 - Introduction to Object Oriented Programming Techniques
1. The term is used to describe a programming approach based on classes and objects is
5. The mechanism by which the data and functions are bound together into a single unit is known
as
7. Which of the following concept encapsulate all the essential properties of the object that are to
be created?
(A) data hiding (B) code reusability (C) code modification (D) accessibility
2. Which of the following statements about member functions are True or False?
i) A member function can call another member function directly with using the dot operator.
ii) Member function can access the private data of the class.
(A) i)True, ii)True (B) i)False, ii)True (C) i)True, ii)False (D) i)False,ii)False
3. A member function can call another member function directly, without using the dot operator
called as
5. Which of the following access specifier protects data from inadvertent modifications?
6. class x
int y;
public:
x(int z){y=z;}
} x1[4];
int main()
x x2(10);
return 0;
7. State whether the following statements about the constructor are True or False.
ii) constructors are invoked automatically when the objects are created.
(A) True, True (B) True, False (C) False, True (D) False, False
CHAPTER 15 – Polymorphism
1. Which of the following refers to a function having more than one distinct meaning?
for(int i=1;i<=size;i++)
cout<<ch;
How will you invoke the function dispchar() for the following input?
(C) The default arguments of overloaded functions are not considered for Overloading.
CHAPTER 16 – Inheritance
1. Which of the following is the process of creating new classes from an existing class
2. Which of the following derives a class student from the base class school
4. Which visibility mode should be used when you want the features of the base class to be
available to the derived class but not to the classes that are derived from the derived class?
(A) Base class (B) abstract (C) derived class (D) Function
6. A class is derived from a class which is a derived class itself, then this is referred to as
(A) Private members of base class are inherited to the derived class with private
(B) Private members of base class are not inherited to the derived class with private
accessibility
(C) Public members of base class are inherited but not visible to the derived class
(D) Protected members of base class are inherited but not visible to the outsideclass
9. Based on the following class declaration answer the questions (from9.1 to 9.4 )
class vehicle
{ int wheels;
public:
void input_data(float,float);
void output_data();
protected:
int passenger;
};
{ int diesel_petrol;
protected:
int load;
public:
void read_data(float,float)
void write_data(); };
{ char Ticket[20];
void display_data(); };
(a) Bus (b) heavy_vehicle (c) vehicle (d) both (a) and (c)
9.2. The data member that can be accessed from the function displaydata()
9.3. The member function that can be accessed by an objects of bus Class is
3. Which one of the following are self-repeating and do not require a computer program to
attach themselves?
6. A computer network security that monitors and controls incoming and outgoing traffic is
8. e-commerce means