wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

choose the best answer

Total questions: 20

Worksheet time: 13mins

Name
Class
Date
1.
  1. By default, a string end with the

    Which character?

a)

\0

b)

\t

c)

\n

d)

\b

2.

2 . Structure definitions is terminated by ?

a)

:

b)

}

c)

;

d)

: :

3.
  1. Which of the following is user-define data type ?

a)

Class

b)

Float

c)

Int

d)

Object

4.
  1. Which of the following is scope

    Operator?

a)

>

b)

&

c)

%

d)

: :

5.
  1. How many types of iterations statement?

a)

2

b)

3

c)

4

d)

5

6.

6 .Which of the following deals with procedures, practices and values?

a)

programs

b)

piracy

c)

virus

d)

computer ethics

7.
  1. Which of the following header file define the standard I/O predefined function?

a)

Stdio.h

b)

Math.h

c)

String.h

d)

Ctype.h

8.
  1. Which function begins the program execution?

a)

Isalpha()

b)

Isdigit()

c)

Main()

d)

Islower ()

9.

9. Which of the following is the collection of variable of the same type that an referenced by a common name?

a)

Int

b)

Float

c)

Array

d)

Class

10.
  1. Write once and use it multiple Time can be achieved by?

a)

Redundancy

b)

Reusability

c)

Modification

d)

Composition

11.
  1. The variable declared inside the class are known as?

a)

Data

b)

Inline

c)

Method

d)

Attributes

12.
  1. The member function defined within the class behave like.......... function?

a)

Inline

b)

Non inline

c)

Outline

d)

Data

13.

13. Which of the following refer to a function having more than one distinct meaning?

a)

Function overloading

b)

Member overloading

c)

Operator overloading

d)

Operation overloading

14.
  1. Which of the following is the process of creating new classes from an existing class

a)

Polymorphism

b)

Inheritance

c)

Encapsulation

d)

Super class

15.
  1. Inheritance is a process of creating new class from?

a)

Base class

b)

Abstract

c)

Derived class

d)

Function

16.

16 .Inheritance is a process of creating new class from?

a)

Base class

b)

Abstract

c)

Derived class

d)

Function

17.

17 .Which of the following tracks a user visits a website?

a)

Spyware

b)

Cookies

c)

Worms

d)

Trojans

18.
  1. A computer network security that monitors and contros incomming and outgoing traffic is?

a)

Cookies

b)

Virus

c)

Firewall

d)

Worms

19.
  1. The process of converting cipher text to plain text is called?

a)

Encryption

b)

Decryption

c)

Key

d)

Proxy server

20.
  1. E- commerce means

a)

Electronic commerce

b)

Electronic data exchange

c)

Electric data exchange

d)

Electronic commercialization