wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Diagnostic Associate Diploma Software- Repeat 1

Total questions: 60

Worksheet time: 30mins

Name
Class
Date
1.

If different properties and functions of a real world entity is grouped or embedded into a single element, what is it called in OOP language? (Unit 7 KLO 1.1)

a)

A. Inheritance

b)

B. Polymorphism

c)

C. Abstraction

d)

D. Encapsulation

2.

If you have a java program and you want to write comments in that program which of the following would you consider for writing a single line comment? (Unit 7 KLO 1.2)

a)

A. /* ___*/

b)

B. //

c)

C. /**

d)

D. !—

3.

Provides interfaces and classes for transferring data between and within applications. (Unit 7 KLO 1.3)

a)

A. java.awt

b)

B. java.awt.datatransfer

c)

C. java.awt.swing

d)

D. java.awt.dnd

4.

Typically, you write a code in a programming language such as Java or C++. Who or what is responsible for ensuring that the language you are using is translated into the language of the machine you are using? (Unit 7 KLO 1.4)

a)

A. Interpreter

b)

B. Compiler

c)

C. Trannslator

d)

D. Editor

5.

Which of the following converts human readable file into platform independent code file in Java? (Unit 7 KLO 1.4a)

a)

A. JRE

b)

B. Applet

c)

C. Compiler

d)

D. JVM

6.

What is the definition of machine code? (Unit 7 KLO 1.4b)

a)

A. A code of ethic that machines operates by, which prevents Skynet from deciding to exterminate the human race in order to fulfill the mandates of its original coding.

b)

B. A higher level programming language that is similar to human speech.

c)

C. The MAC address of a computer that enables Information Technology professionals to identify computers on a network.

d)

D. A strictly numerical language which is intended to run as fast as possible, and may be regarded as the lowestlevel representation of a compiled or assembled computer program or as a primitive and hardwaredependent programming language.

7.

Which of the following is NOT true about servlet? (Unit 7 KLO 1.5)

a)

A. Servlets creates static web page

b)

B. Servlets have no GUI

c)

C. Servlets executes on Servers

d)

D. Servlet is a server-side programming language.

8.

This is a named storage location in the computer's memory. (Unit 7 KLO 2.3)

a)

A. class

b)

B. key word

c)

C. variable

d)

D. operator

9.

These are words that have a special meaning in the programming language. (Unit 7 KLO 2.4)

a)

A. punctuation

b)

B. programmer-defined names

c)

C. key words

d)

D. operators

10.

If you have a number 9.6345 which of the following data type you will be using for the correct output. (Unit 7 KLO 2.5)

a)

A. Float

b)

B. Double

c)

C. String

d)

D. Integer

11.

Identify which one is referred to as variance from product specifications? (Unit 8 KLO 1.1)

a)

A. Defect

b)

B. Requirement

c)

C. Analysis

d)

D. Result

12.

When sub class declares a method that has the same type arguments as a method declared by one of its superclass, it is termed as (Unit 8 KLO 1.2)

a)

A. Operator overloading

b)

B. Method overriding

c)

C. Operator overriding

d)

D. Method overloading

13.

It measures the quality of processes used to create a quality product. It is a system of management activities. It is a preventive process, It applies for the entire life cycle & deals with process. (Unit 8 KLO 1.3) A. Validation B. Verification C. Quality Assurance orrect answer D. Quality Control

a)

A. Validation

b)

B. Verification

c)

C. Quality Assurance

d)

D. Quality Control

14.

The importance of software design can be summarized in a single word which is: (Unit 8 KLO 2.1)

a)

A. Efficiency

b)

B. Accuracy

c)

C. Quality

d)

D. Complexity

15.

Which of the following are language independent (Unit 8 KLO 2.2)

a)

A. Pattern

b)

B. Libraries

c)

C. Idioms

d)

D. Framework

16.

Illustrate which one is the functions and procedures (Unit 8 KLO 2.3)

a)

A. Patterns

b)

B. Idioms

c)

C. Libraries

d)

D. components

17.

What does repository tools do? (Unit 8 KLO 2.4)

a)

A. manages data

b)

B. manages link among different applications

c)

C. manages software

d)

D. All the above

18.

Select Appropriate Option(s) : JavaScript is can be written (UNIT 13 KLO 1.1)

a)

A. directly into HTML pages

b)

B. directly on the Server Script

c)

C. directly into JS file and included into HTML

d)

D. None of the above

19.

JavaScript is (UNIT 13 KLO 1.2)

a)

A. an interpreted language

b)

B. a compiled language

c)

C. both of the above

d)

D. none of the above

20.

Which of the following will make stateless session to stateful? (UNIT 13 KLO 2.1)

a)

A. HTTP

b)

B. Cookies

c)

C. FTP

d)

D. ISP

21.

Which of the following is an example of authentication? (UNIT 13 KLO 2.2)

a)

A. Secret question

b)

B. Password

c)

C. SMS code

d)

D. all of the above

22.

An example of stateless programming (UNIT 13 KLO 2.3)

a)

A. HTTP

b)

B. Cookies

c)

C. ISP

d)

D. FTP

23.

Which of the following is an example of stateful session? (UNIT 13 KLO 2.4)

a)

A. added items still in the shopping bag for the last 3 days

b)

B. you need to log in every time you moved to next page

c)

C. items disappear when I log out from the website

d)

D. All of the above

24.

Identify the point where a firewall is installed where the secure internal network and untrusted external network meet which is also known as (Unit 14 KLO 1.1)

a)

A. Chock point

b)

B. Meeting point

c)

C. Firewall point

d)

D. Secure point

25.

An HTTP connection uses port _________ whereas HTTPS uses port ____________ and invokes SSL. (Unit 14 KLO 1.2)

a)

A. 40; 80

b)

B. 60; 620

c)

C. 80; 443

d)

D. 620; 80

26.

Choose the protocol whose primary goal is to provide a private channel between communicating application, which ensures privacy of data authentication of the partners, and integrity. (Unit 14 KLO 1.3)

a)

A. SSL

b)

B. ESP

c)

C. TSL

d)

D. PSL

27.

What is the main purpose of SSL? (Unit 14 KLO 1.3)

a)

A. handle sensitive information

b)

B. communicating with server

c)

C. shut down a machine or network

d)

D. crashing services

28.

When sender and receiver of an e-mail are on same system, we need only two of the following (Unit 14 KLO 1.4)

a)

A. User Agents

b)

B. IP

c)

C. Domain

d)

D. Servers

29.

In which of the following Pretty Good Privacy (PGP) is used? (Unit 14 KLO 1.4)

a)

A. browser security

b)

B. email security

c)

C. FTP security

d)

D. IP security

30.

Which of the following is the type of software that has self-replicating software that causes damage to files and system? (Unit 14 KLO 1.5)

a)

A. Viruses

b)

B. Trojan horses

c)

C. Bots

d)

D. Worms

31.

An attempt to make a computer resource unavailable to its intended users is called as (Unit 14 KLO 1.6)

a)

A. denial-of-service attack

b)

B. virus attack

c)

C. worms attack

d)

D. botnet process

32.

Which of the following is not a web server? (Unit 14 KLO 1.7)

a)

A. Apache tomcat

b)

B. BlueGriffon

c)

C. Jetty

d)

D. Tornado

33.

Each version of the Data Over Cable Service Interface Specification (DOCSIS) adds features and improvements over the previous version. What features does DOCSIS 2.0 add? (Unit 14 KLO 2.1)

a)

A. Increased bandwidth of the upstream and advanced access systems so that lower orders of modulation are possible.

b)

B. Increased bandwidth of the upstream so that enhanced security and adaptive equalization in the upstream path for improved data throughput are possible.

c)

C. Increased bandwidth of the downstream with advanced access systems so that higher orders of modulation are possible.

d)

D. Increased bandwidth of the upstream and advanced access systems so that higher orders of modulation are possible.

34.

Examine the following which one is true for wireless distribution system (Unit 14 KLO 2.3)

a)

A. multiple access point are inter-connected with each other orrect answer

b)

B. there is no access point

c)

C. only one access point exists

d)

D. none of the mentioned

35.

What does MIME stands for (Unit 14 KLO 2.5)

a)

A. Multipurpose International Mail End

b)

B. Multipurpose Internet Mail Extensions

c)

C. Multipurpose Internet Mail Email

d)

D. Multipurpose International Mail Entity

36.

Estimate In SSL Protocol, the maximum number of bytes that each upper layer message can be fragmented into (Unit 14 KLO 2.6)

a)

A. 2^16

b)

B. 2^32

c)

C. 2^14

d)

D. 2^12

37.

Identify the advantages of Database management system? (UNIT15 KLO 1.1)

a)

A. Data Integrity

b)

B. Reduction in Data Redundancy

c)

C. Centralize Management

d)

D. All of these

38.

............................ is the powerful language for working with RDBMS. (UNIT15 KLO 1.2)

a)

A. Embedded Programs

b)

B. Dynamic Programs

c)

C. Structured Query Language

d)

D. Static Language Programs

39.

A relational database consists of a collection of (UNIT15 KLO 1.3)

a)

A. Tables

b)

B. Fields

c)

C. Records

d)

D. Keys

40.

The following are functions of a DBMS except (UNIT15 KLO 2.1)

a)

A. creating and processing forms

b)

B. creating databases

c)

C. processing data

d)

D. administrating databases

41.

What does SQL stand for? (UNIT15 KLO 2.1)

a)

A. Structured Query Language

b)

B. Structured Question Language C. Strong Question Language

c)

C. Strong Question Language

d)

D. Strong Query Language

42.

Which SQL statement is used to extract data from a database? (UNIT15 KLO 2.1)

a)

A. OPEN

b)

B. EXTRACT

c)

C. SELECT

d)

D. GET

43.

Which SQL statement is used to update data in a database? (UNIT15 KLO 2.1)

a)

A. UPDATE

b)

B. MODIFY

c)

C. SAVEAS

d)

D. SAVE

44.

Which SQL statement is used to delete data from a database? (UNIT15 KLO 2.1)

a)

A. COLLAPSE

b)

B. DELETE

c)

C. REMOVE

d)

D. DROP

45.

Which SQL statement is used to insert new data in a database? (UNIT15 KLO 2.1)

a)

A. INSERT INTO

b)

B. ADD RECORD

c)

C. ADD NEW

d)

D. INSERT NEW

46.

Which operator is used to search for a specified pattern in a column? (UNIT15 KLO 2.1)

a)

A. FROM

b)

B. GET

c)

C. LIKE

d)

D. SELECT

47.

Which SQL keyword is used to sort the result-set? (UNIT15 KLO 2.2)

a)

A. order by

b)

B. sort by

c)

C. where

d)

D. like

48.

Which of the following is not comparison operator? (UNIT15 KLO 2.2)

a)

A. <>

b)

B. <

c)

C. =<

d)

D. >=

49.

How can you change "Hansen" into "Nilsen" in the "LastName" column in the Persons table? (UNIT15 KLO 2.2)

a)

A. MODIFY Persons SET LastName='Hansen' INTO LastName='Nilsen

b)

B. UPDATE Persons SET LastName='Hansen' INTO LastName='Nilsen'

c)

C. MODIFY Persons SET LastName='Nilsen' WHERE LastName='Hansen'

d)

D. UPDATE Persons SET LastName='Nilsen' WHERE LastName='Hansen'

50.

With SQL, how can you delete the records where the "FirstName" is "Peter" in the Persons Table? (UNIT15 KLO 2.2)

a)

A. DELETE FirstName='Peter' FROM Persons

b)

B. DELETE ROW FirstName='Peter' FROM Persons

c)

C. DELETE FROM Persons WHERE FirstName = 'Peter'

d)

D. All of the above

51.

With SQL, how can you return the number of records in the "Persons" table? (UNIT15 KLO 2.2)

a)

A. SELECT COUNT() FROM Persons

b)

B. SELECT COLUMNS() FROM Persons

c)

C. SELECT COUNT(*) FROM Persons

d)

D. SELECT COLUMNS(*) FROM Persons

52.

Which of the syntax is correct for insert statement? i) insert into values ii) insert into (column list) values (UNIT15 KLO 2.2)

a)

A. i-only

b)

B. ii-only

c)

C. Both of them

d)

D. None of them

53.

Which of the syntax is correct for insert statement? i) insert into values ii) insert into (column list) values (UNIT15 KLO 2.2)

a)

A. i-only

b)

B. ii-only

c)

C. Both of them

d)

D. None of them

54.

To change column value in a table the ......... command can be used. (UNIT15 KLO 2.2)

a)

A. create

b)

B. insert

c)

C. alter

d)

D. update

55.

The ........ is used for creating and destroying table, indexes and other forms of structures. (UNIT15 KLO 2.2)

a)

A. data manipulation language

b)

B. data control language

c)

C. transaction control language

d)

D. data definition language

56.

Which SQL statement is used to return only different values? (UNIT15 KLO 2.2)

a)

A. SELECT UNIQUE

b)

B. SELECT DIFFERENT

c)

C. SELECT DISTINCT

d)

D. SELECT DIST

57.

Which SQL statement is used to create a table in a database? (UNIT15 KLO 2.2)

a)

A. CREATE TABLE

b)

B. CREATE DATABASE TABLE

c)

C. CREATE DB

d)

D. CREATE DATABASE TAB

58.

With SQL, how do you select a column named "FirstName" from a table named "Persons"? (UNIT15 KLO 2.1)

a)

A. SELECT Persons.FirstName

b)

B. EXTRACT FirstName FROM Persons

c)

C. SELECT FirstName FROM Persons

d)

D. EXTRACT Persons FROM FirstName

59.

With SQL, how do you select all the columns from a table named "Persons"? (UNIT15 KLO 2.1)

a)

A. SELECT Persons

b)

B. SELECT * FROM Persons

c)

C. SELECT [all] FROM Persons

d)

D. SELECT *.Persons

60.

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" is "Peter"? (UNIT15 KLO 2.1)

a)

A. SELECT * FROM Persons WHERE FirstName='Peter'

b)

B. SELECT * FROM Persons WHERE FirstName<>'Peter'

c)

C. SELECT [all] FROM Persons WHERE FirstName='Peter'

d)

D. SELECT [all] FROM Persons WHERE FirstName LIKE 'Peter'