wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Test-1

Total questions: 30

Worksheet time: 16mins

Name
Class
Date
1.

Select any one of the correct declaration of variables

1. float Fa78;Fa78=90; 2. int _abc;_abc=90;

  1. 3. char 8asd;8asd='a'; 4. int a9;a9=45;

a)

1,2,3 are correct

b)

2,3,4 are correct

c)

1,2,4 are correct

d)

all are correct

2.

Using C Language following are developed

1.SQL 2.Prince of Percia game 3. Unix OS

a)

1 and 3

b)

1 and 2

c)

2 and 3

d)

all 1,2 and 3

3.

In C Language # refers to

a)

Headder Section

b)

Preprocessing Section

c)

Preprocessor

d)

Header

4.

In printf Statement 'f' stands for

a)

file

b)

function

c)

fundamental

d)

format

5.

main() function is which type of function

a)

pre-defined

b)

user-defined

c)

compiler-defined

d)

abstract

6.

What is the output of following code

int a=-99;

if(a)

{

printf(a);

}

a)

99

b)

CTE

c)

-99

d)

Garbage Value

7.

What is the output of following code

int i=1;

for(i=1;i<=3;i++);

{

printf("%d",i);

}

a)

4

b)

CTE

c)

123

d)

RTE

8.

In the following What is best for writing multiple blocks

a)

multiple if

b)

switch

c)

if-else lader

d)

nested if

9.

What is the output of following code

int a[]={10,20,30};

printf("%d",a[3]);

a)

30

b)

CTE

c)

Garbage Value

d)

RTE

10.

In C Language how many files are created after compilation and execution

a)

2

b)

3

c)

1

d)

4

11.

What is the output of following code

int a=10;

int *p=&a;

*p=23;

printf("%d",a);

a)

10

b)

CTE

c)

23

d)

RTE

12.

_____ is used to find and fix bugs in the Java programs.

a)

JVM

b)

JRE

c)

JDK

d)

JDB

13.

Who is Author of Java Language

a)

James Gosling

b)

Dennis Ritchel

c)

Bjarne Stroustrop

d)

Berners Lee

14.

What is API in Java

a)

libraries

b)

packages

c)

jar files

d)

none

15.

Security in Java Refers to

a)

bytecode

b)

JVM

c)

applets

d)

JRE

16.

JVM work is

a)

converts mnemonic code to machine code

b)

converts byte code to machine code

c)

converts machine code to byte code

d)

none

17.

Java Developed officially in the Year

a)

1991

b)

1995

c)

1994

d)

1992

18.

Java is

a)

Object Oriented

b)

Procedure Oriented

c)

Structure Oriented

d)

Module Oriented

19.

Java's First Name is

a)

Jolt

b)

Revolutionary

c)

Oak

d)

None

20.
Which of the following is not a DBMS despite having database capabilities:
a)
Microsoft Excel or similar spreadsheets
b)
Oracle
c)
MySQL
d)
Microsoft Access or similar
21.

Which of the following is a property of database

a)

Represents some aspect of the real world

b)

Logically related collection of data

c)

Built, and populated with data for a specific purpose

d)

All the above

22.

The database and DBMS software together is called a ________________

a)

Database system

b)

Data Model

c)

Application Program

d)

System software

23.

Who is responsible for authorizing access to the database, coordinating and monitoring its use

a)

Database programmer

b)

System Analyst

c)

DBA

d)

Specialised user

24.

What is ram?

a)

memory of computer

b)

memory of monitor

c)

random acces memory

d)

rapid action memory

25.

what is DVD?

a)

Digital Virtual Disk

b)

Distance Visible Disk

c)

Direct Versatile Disk

d)

Digital Drive Disk

26.
How do we call this?
a)
USB memory
b)
folder
c)
mouse
d)
router
27.

What does Personal Computer mean?

a)

Designed for a single user.

b)

You can only do personal business on it.

c)

Only applies to a desktop computer.

d)

If anyone else touches it, it will blow up.

28.
Which of the following is computer hardware?
a)
Microsoft Word
b)
Adobe Acrobat
c)
Keyboard
d)
Minecraft
29.
Which of the following is an input device?
a)
Speaker
b)
Printer
c)
Headphones
d)
Mouse
30.

What is the name of this component?

a)

Water Cooler.

b)

Central Processing Unit.

c)

Memory.

d)

Solid State Drive.