wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

L6 Lent

Total questions: 78

Worksheet time: 37mins

Name
Class
Date
1.

Which of the following SQL clauses is used to DELETE tuples from a database table?

a)

DELETE

b)

REMOVE

c)

DROP

d)

CLEAR

2.

If you don’t specify ASC or DESC after a SQL ORDER BY clause, the following is used by default

a)

ASC

b)

DESC

c)

There is no default value

d)

None of the mentioned

3.

With SQL, how do you select all the records from a table named “Persons” where the value of the column “FirstName” ends with an “a”?

a)

SELECT * FROM Persons WHERE FirstName=’a’

b)

SELECT * FROM Persons WHERE FirstName LIKE ‘a%’

c)

SELECT * FROM Persons WHERE FirstName LIKE ‘%a’

d)

SELECT * FROM Persons WHERE FirstName=’%a%’

4.

What does the ALTER TABLE clause do?

a)

The SQL ALTER TABLE clause modifies a table definition by altering, adding, or deleting table columns and/or constraints

b)

The SQL ALTER TABLE clause is used to insert data into database table

c)

THE SQL ALTER TABLE deletes data from database table

d)

The SQL ALTER TABLE clause is used to delete a database table

5.

The UPDATE SQL clause can _____________

a)

update only one row at a time

b)

update more than one row at a time

c)

delete more than one row at a time

d)

delete only one row at a time

6.

How can you change “Hansen” into “Nilsen” in the “LastName” column in the Persons table?

a)

UPDATE Persons SET LastName=’Hansen’ INTO LastName=’Nilsen’

b)

MODIFY Persons SET LastName=’Nilsen’ WHERE LastName=’Hansen’

c)

MODIFY Persons SET LastName=’Hansen’ INTO LastName=’Nilsen’

d)

UPDATE Persons SET LastName=’Nilsen’ WHERE LastName=’Hansen’

7.

SQL query to find all the cities whose humidity is 95.

a)

SELECT city WHERE humidity = 95

b)

SELECT city FROM weather WHERE humidity = 95

c)

SELECT humidity = 89 FROM weather

d)

SELECT city FROM weather

8.

SQL query to find the temperature in increasing order of all cities.

a)

SELECT city FROM weather ORDER BY temperature

b)

SELECT city, temperature FROM weather

c)

SELECT city, temperature FROM weather ORDER BY temperature

d)

SELECT city, temperature FROM weather ORDER BY city

9.

Find the name of those cities with temperature and condition whose condition is either sunny or cloudy but temperature must be greater than 70.

a)

SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ OR temperature > 70

b)

SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ OR temperature > 70

c)

SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ OR condition = ‘cloudy’ AND temperature > 70

d)

SELECT city, temperature, condition FROM weather WHERE condition = ‘sunny’ AND condition = ‘cloudy’ AND temperature > 70

10.

The command to remove rows from a table ‘CUSTOMER’ is __________________

a)

DROP FROM CUSTOMER

b)

UPDATE FROM CUSTOMER

c)

REMOVE FROM CUSTOMER

d)

DELETE FROM CUSTOMER WHERE

11.

What does SQL stand for?

a)

Structured Query Language

b)

Strong Question Language

c)

Structured Question Language

12.

Which SQL statement is used to extract data from a database?

a)

SELECT

b)

OPEN

c)

GET

d)

EXTRACT

13.

Which SQL statement is used to update data in a database?

a)

SAVE AS

b)

UPDATE

c)

MODIFY

d)

SAVE

14.

Which SQL statement is used to delete data from a database?

a)

DELETE

b)

COLLAPSE

c)

REMOVE

15.

Which SQL statement is used to insert new data in a database?

a)

INSERT NEW

b)

ADD NEW

c)

INSERT INTO

d)

ADD RECORD

16.

With SQL, how do you select a column named "FirstName" from a table named "Persons"?

a)

EXTRACT FirstName FROM Persons

b)

SELECT FirstName FROM Persons

c)

SELECT Persons.FirstName

17.

With SQL, how do you select all the columns from a table named "Persons"?

a)

SELECT Persons

b)

SELECT * FROM Persons

c)

SELECT *.Persons

d)

SELECT [all] FROM Persons

18.

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

a)

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

b)

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

c)

SELECT * FROM Persons WHERE FirstName<>'Peter'

d)

SELECT * FROM Persons WHERE FirstName='Peter'

19.

With SQL, how do you select all the records from a table named "Persons" where the value of the column "FirstName" starts with an "a"?

a)

SELECT * FROM Persons WHERE FirstName LIKE 'a%'

b)

SELECT * FROM Persons WHERE FirstName='a'

c)

SELECT * FROM Persons WHERE FirstName LIKE '%a'

d)

SELECT * FROM Persons WHERE FirstName='%a%'

20.

The OR operator displays a record if ANY conditions listed are true. The AND operator displays a record if ALL of the conditions listed are true

a)

False

b)

True

21.

With SQL, how do you select all the records from a table named "Persons" where the "FirstName" is "Peter" and the "LastName" is "Jackson"?

a)

SELECT * FROM Persons WHERE FirstName<>'Peter' AND LastName<>'Jackson'

b)

SELECT * FROM Persons WHERE FirstName='Peter' AND LastName='Jackson'

c)

SELECT FirstName='Peter', LastName='Jackson' FROM Persons

22.

With SQL, how do you select all the records from a table named "Persons" where the "LastName" is alphabetically between (and including) "Hansen" and "Pettersen"?

a)

SELECT * FROM Persons WHERE LastName BETWEEN 'Hansen' AND 'Pettersen'

b)

SELECT LastName>'Hansen' AND LastName<'Pettersen' FROM Persons

c)

SELECT * FROM Persons WHERE LastName>'Hansen' AND LastName<'Pettersen'

23.

Which SQL statement is used to return only different values?

a)

SELECT UNIQUE

b)

SELECT DISTINCT

c)

SELECT DIFFERENT

24.

Which SQL keyword is used to sort the result-set?

a)

SORT

b)

ORDER BY

c)

SORT BY

d)

ORDER

25.

With SQL, how can you return all the records from a table named "Persons" sorted descending by "FirstName"?

a)

SELECT * FROM Persons SORT 'FirstName' DESC

b)

SELECT * FROM Persons SORT BY 'FirstName' DESC

c)

SELECT * FROM Persons ORDER FirstName DESC

d)

SELECT * FROM Persons ORDER BY FirstName DESC

26.

With SQL, how can you insert a new record into the "Persons" table?

a)

INSERT ('Jimmy', 'Jackson') INTO Persons

b)

INSERT INTO Persons VALUES ('Jimmy', 'Jackson')

c)

INSERT VALUES ('Jimmy', 'Jackson') INTO Persons

27.

With SQL, how can you insert "Olsen" as the "LastName" in the "Persons" table?

a)

INSERT INTO Persons (LastName) VALUES ('Olsen')

b)

INSERT INTO Persons ('Olsen') INTO LastName

c)

INSERT ('Olsen') INTO Persons (LastName)

28.

How can you change "Hansen" into "Nilsen" in the "LastName" column in the Persons table?

a)

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

b)

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

c)

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

d)

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

29.

With SQL, how can you delete the records where the "FirstName" is "Peter" in the Persons Table?

a)

DELETE ROW FirstName='Peter' FROM Persons

b)

DELETE FirstName='Peter' FROM Persons

c)

DELETE FROM Persons WHERE FirstName = 'Peter'

30.

With SQL, how can you return the number of records in the "Persons" table?

a)

SELECT NO(*) FROM Persons

b)

SELECT COUNT(*) FROM Persons

c)

SELECT LEN(*) FROM Persons

31.
Certain computing projects in education and science are free and maintained by a diverse community of people. Their software is usually distributed as:
a)
open source
b)
charity
c)
off the shelf
32.
Microsoft Office and similar software is an example of:
a)
off the shelf
b)
bespoke
c)
open source
33.
A bank thinks of getting a database package. They have particular needs, such as having their logo on every screen and timing employees performing tasks. The best software in this case would be:
a)
bespoke
b)
off the shelf
c)
open source
34.
A small office is thinking about getting productivity sofware for typing up letters and simple spreadsheet modelling. Their needs and budget are modest. The best software in this case would be:
a)
off the shelf
b)
bespoke
c)
none of the above�
35.
John needs to exchange information with a lot of people, sending documents back forth. He wants to get a data handling software that will keep track of his expenses and revenues. The best software in this case would be:
a)
off the shelf
b)
open source
c)
bespoke
36.
Some software programs develop rapidly, gaining new features and adapting to new uses, very often very specialised and experimental. The best software in this case would be:
a)
open source
b)
proprietory
c)
bespoke
37.
The following is not a good reason to use bespoke software:
a)
the need to perform a very wide range of tasks
b)
special features only needed by one company
c)
low computer skills of employees
38.
A lot of scientific projects run on _____ software.
a)
open source
b)
proprietory
c)
expensive
39.
The following type of software will typically have the biggest number of users:
a)
off the shelf
b)
proprietory
c)
bespoke
40.
Bespoke sofware is otherwise known as custom written software.
a)
True
b)
False
41.
What type of Software is needed to control the computer’s hardware?
a)
Programming Software
b)
Systems Software
c)
Application Software
d)
Bespoke Software
42.
The following is not a type of Systems Software
a)
Device Drivers
b)
Utility Programs
c)
Applications
d)
Operating Systems
43.

Dividing tasks so that the Operating System appears to multitask is dealt with under

a)

Memory Management

b)

File Management

c)

User Management

d)

Peripheral Management

44.
Dividing processor time between processes so that they appear to multitask is known as
a)
Time Slicing
b)
Fish Slicing
c)
Time waiting
d)
Idle Time
45.
To allow a user to interact with an Operating System – it must have a ______ ?
a)
User Connection
b)
User Interface
c)
Virtual Connection
d)
Remote Access
46.
Windows, Icons, menus and Pointers are all part of this?
a)
Graphical User Interface
b)
Command Line Interface
c)
Menu Interface
d)
No User Interface
47.
This piece of software is used to control hardware devices and allow an Operating System to make use of the hardware
a)
Device Management
b)
Device Driver
c)
Device System
d)
Hardware Peripheral Device Question 11: This following
48.
This following is an example of a peripheral
a)
Processor
b)
Main Memory (RAM)
c)
External hard drive
d)
ROM
49.

which one of the following is not a Utility Program?

a)

Disk Defragmentation Tool

b)

Compression

c)

Web Browser

d)

Encryption

50.
Utility programs are usually…..?
a)
Part of the Operating System
b)
Bought on a disk from a store
c)
Only needed if you connect to the Internet
d)
Very Expensive to buy
51.
Lossy Compression is…..?
a)
Usually performed on text
b)
When some original data is lost and the original file cannot be re-created
c)
The original file can be re-created from the compressed file
d)
Turning the text into a format that only a reader with a key can decrypt it
52.
Lossless Compression is….?
a)
Usually performed on video files
b)
When some original data is lost and the original file cannot be re-created
c)
The original file can be re-created from the compressed file
d)
Turning the text into a format that only a reader with a key can decrypt it
53.
A fragmented hard drive is one in which…..?
a)
Program instructions and data are spread across tracks and sectors on the hard disk drive
b)
Programs and instructions are grouped together to occupy a continuous section of the hard disk drive
c)
A hard disk drive that has been dropped and broken into lots of pieces
d)
The hard disk drive is split into portions each representing a different logical drive.
54.
To scramble data so that it is unreadable is a form of….?
a)
Compression
b)
Encryption
c)
Backing up
d)
Defragmentation
55.

What kind of Hard drive gets fragmented?

a)

Magnetic

b)

Solid state

c)

Both

56.

What is NOT a type of User Interface?

a)

IOS

b)

Graphical User

c)

Command Line

d)

Menu Driven

57.

What are the FIVE functions of an Operating System?

a)

User Interface, User management, File management, Utility programs, Optical storage

b)

User Interface, Solid state, Peripheral management, File management, Memory management

c)

File management, Memory sharing, User management, Peripheral management, Solid state storage

d)

Memory management, File management, User interface, User management, Peripheral management,

58.

What is User management?

a)

Manages the passwords of every user

b)

Controls levels of access by different users

c)

Admin rights

d)

Allows everyone to create a profile

59.
Q1: What type of Software is needed to control the computer’s hardware? (1-3)
a)
Programming Software
b)
Systems Software
c)
Application Software
d)
Bespoke Software
60.
Q2: The following is not a type of Systems Software (4-6)
a)
Device Drivers
b)
Utility Programs
c)
Applications
d)
Operating Systems
61.
Q7: To allow a user to interact with an Operating System – it must have a ______ ? (1-3)
a)
User Connection
b)
User Interface
c)
Virtual Connection
d)
Remote Access
62.
Q8: Windows, Icons, menus and Pointers are all part of this? (1-4)
a)
Graphical User Interface
b)
Command Line Interface
c)
Menu Interface
d)
No User Interface
63.
Q9: Operating Systems will allocate sections of RAM to the processes as part of: (4-6)
a)
Processor Management
b)
File Management
c)
Peripheral Management
d)
Memory Management
64.
Q10: Software is used to control hardware devices and allow an OS use the hardware
a)
Device Management
b)
Device Driver
c)
Device System
d)
Hardware Peripheral Device
65.
Q2: Utility programs are usually…..? (1-3)
a)
Part of the Operating System
b)
Bought on a disk from a store
c)
Only needed if you connect to the Internet
d)
Very Expensive to buy
66.
Q3: Lossy Compression is…..? (7-9)
a)
Usually performed on text
b)
Original data is lost, original file cannot be recreated
c)
The original file can be re-created from the compressed file
d)
Turning text into a format that needs a key to decrypt it
67.
Q4: Lossless Compression is….? (7-9)
a)
Usually performed on text
b)
Original data is lost, original file cannot be recreated
c)
The original file can be re-created from the compressed file
d)
Turning text into a format that needs a key to decrypt it
68.
Q5: A fragmented hard drive is one in which…..? (4-6)
a)
Instructions and data are spread across sectors on the hdd
b)
Programs&instructions grouped next to each other on HDD
c)
A HDD that has been dropped and broken into lots of pieces
d)
hdd split, representing different logical drives
69.
Q6: To scramble data so that it is unreadable is a form of….? (4-6)
a)
Compression
b)
Encryption
c)
Backing up
d)
Defragmentation
70.
Q7: This method of backup takes longer to perform (4-6)
a)
Incremental
b)
Differential
c)
Full
d)
Fragmented
71.
Q8: This method of backup is quicker to perform once an initial backup file is created (7-9)
a)
Incremental
b)
Differential
c)
Full
d)
Fragmented
72.
What type of Software is needed to control the computer’s hardware?
a)
Programming Software
b)
System Software
c)
Application Software
d)
Bespoke Software
73.
GUI or CLI?
a)
GUI
b)
CLI
74.
GUI or CLI?
a)
GUI
b)
CLI
75.
Which part of the operating system will split the disk in storage sectors and decide which sectors to write data to?
a)
Memory management
b)
File and disk management
c)
User management
d)
User interface
76.
Name four commonly used operating systems
a)
Windows, Mac OSX, Android, IOS
b)
PowerPoint, Word, Publisher, Notepad
77.
What is meant by a Command Line Interface (CLI)?
a)
The user has to type in specific commands to do things like moving and copying files.
b)
The user communicates with the operating system using windows, icons, menu and pointers (WIMP) e.g. Windows
78.
Define the term 'peripheral'
a)
A driver is a piece of software designed to tell a peripheral what to do.
b)
Any input, output or storage device that connects to a motherboard. (keyboard, mouse, web cam, printer, hard disk drive)