Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Test Out Chapter 7 and 8 programming and databases

Total questions: 44

Worksheet time: 33mins

Name
Class
Date
1.

A programmer is creating an application that needs to store a value indicating if the user is logged in or not. Which of the following would be the BEST data type to accomplish this?

a)

Boolean

b)

Float

c)

Integer

d)

String

2.

A developer is creating an application that requires a value to be stored with decimal precision. Which of the following data types should be used for the variables that will store these values?

a)

String

b)

Boolean

c)

Float

d)

Integer

3.

A developer is creating a program that will store a customer's latest order number. The value will change each time a customer creates a new order. Which of the following would MOST likely be used to store the value?

a)

Object

b)

Array

c)

Variable

d)

Constant

4.

Which of the following programming models are built from class templates that have properties, attributes, and methods?

a)

Encapsulation

b)

Objects

c)

Vector

d)

Functions

5.

Which of the following is a programming identifier that would be used to define values that don't change?

a)

Arrays

b)

Variables

c)

Vectors

d)

Constants

6.

In object-oriented programming, which of the following concepts is used to describe properties?

a)

Methods

b)

Polymorphism

c)

Attributes

d)

Encapsulation

7.

A software developer wants to provide a compiled executable program to a customer. Which of the following computer languages would provide this capability?

a)

Ruby

b)

PowerShell

c)

Perl

d)

C++

8.

Alan, a programmer, needs to create an interactive web page. Which of the following programming languages types would he MOST likely use?

a)

Interpreted

b)

Query

c)

Assembly

d)

Compiled

9.

On a flowchart, which of the following represents a decision?

a)

Rectangle

b)

Diamond

c)

Arrow

d)

Parallelogram

10.

Which of the following BEST describes a flowchart?

a)

It does the same thing over and over in exactly the same way.

b)

It starts at the first line and then executes one line at a time until the end.

c)

It is a step-by-step procedure that illustrates how a problem is to be solved.

d)

It is a visual representation of the logic in a program.

11.

What is the term for code that keeps running as long as a certain condition is met?

a)

Branch

b)

For loop

c)

While loop

d)

Decision

12.

You are working on a program that needs to keep track of many values at the same time. Which of the following would you use?

a)

A variable

b)

An array

c)

A float

d)

A constant

13.

What makes website elements interactive?

a)

JavaScript

b)

HTML

c)

CSS

14.

Which program adds colors, fonts, and other design elements to website

a)

CSS

b)

JavaScript

c)

HTML

15.

What creates website structure and content

a)

CSS

b)

HTML

c)

JavaScript

16.

Which programming language type is the most basic human-readable and closest to actual machine language?

a)

Assembly

b)

Compiled

c)

Query

d)

Interpreted

17.

Which of the following tags contains all the elements that will be presented on the visual portion of a website?

a)

<p></p>

b)

<div></div>

c)

<body></body>

d)

<head></head>

18.

How many heading tags are available for heading and subheading when using HTML?

a)

8

b)

6

c)

2

d)

4

19.

To be a proper HTML document, there are a few tags that every web page needs. What is the correct answer ?

a)

<head>

</body>

<head>

<body>

</html>

b)

<html>

<head>

</head>

<body>

</body>

</html>

20.

Which of the following are the proper HTML tags used to create a numbered list?

a)

<ol>

<i>Item 1</i>

<i>Item 2</i>

<i>Item 3</i>

</ol>

b)

<ol>

<li>Item 1</li>

<li>Item 2</li>

<li>Item 3</li>

</ol>

21.

You want to have a hyperlink to testout.com on your web page. What is the correct HTML syntax to accomplish this?

a)

<a href="www.testout.com">Link to the TestOut homepage</a>

b)

<a href=>Link to the TestOut.com homepage</a>

c)

<a href="www.testout.com"></a>

d)

<a href=www.testout.com>

22.

What lets the browser know that it should interpret the document as HTML?

a)

<html>

b)

<head>

c)

<body>

23.

What contains all the elements that will be presented on the screen.

a)

<body>

b)

<html>

c)

<head>

24.

What contains the title of the web page, links to stylesheets, and metadata to help search engines find the page?

a)

<html>

b)

<head>

c)

<body>

25.

What does JavaScript do?

a)

Links digital objects to each other.

b)

Makes web pages interactive.

c)

Makes websites look good.

d)

Contains the title of the web page.

26.

Which of the following BEST describes a back-end developer?

a)

He or she controls what you see visually in your web browser when you visit a site.

b)

He or she needs to make the website as user-friendly as possible

c)

He or she accesses information from databases and prevents unauthorized access.

d)

He or she uses HTML, CSS, and JavaScript to determine the way a website looks.

27.

Which of the following BEST describes a front-end developer?

a)

He or she may use query languages like SQL.

b)

He or she is concerned with the aesthetics of a website.

c)

He or she services the website and manages user accounts.

d)

He or she may use Ruby, Java, PHP, and Python.

28.

Gina is a database user and her supervisor has asked her to generate a report from the structured database. Gina does not know how to write SQL commands and no forms have been created. Which of the following would be her BEST option to generate the report?

a)

Query builder

b)

User interface access

c)

Programmatic access

d)

Direct access

29.

April is a database manager who wants to insert some new records (rows) into the company's customer contact database. Instead of using a database client to insert the records, she wants to use a command.

Which of the following languages provides a command for inserting records into a database?

a)

DDL (Data Definition Language)

b)

DCL (Data Control Language)

c)

DML (Data Manipulation Language)

d)

HTML (HyperText Markup Language)

30.

Which of the following are the four general tasks a user needs to perform for a database to function properly?

a)

Create, Reuse, Unleash, Delete

b)

Create, Read, Update, Delete

c)

Create, Read, Unleash, Deny

d)

Configure, Read, Update, Deny

31.

Which process exports a database into a format that can be read by another program like a spreadsheet?

a)

Database backup

b)

CRUD

c)

Database dump

d)

CSV

32.

Which SQL command is used to give a user permission to a specific database object?

a)

REVOKE

b)

UPDATE

c)

VALUES

d)

GRANT

33.

Mary needs to view the records from the Clients table that pertain to Travis. Which command should she use?

a)

UPDATE * FROM Clients WHERE name = Travis

b)

SELECT Travis FROM Clients

c)

SELECT * FROM Clients WHERE name = Travis

d)

SELECT ^ FROM Clients WHERE name = Travis

34.

Mary needs to view all records from the Clients table. Which command should she use?

a)

SELECT * FROM Clients

b)

WHERE * FROM Clients

c)

SELECT ^ FROM Clients

d)

WHERE ^ FROM Clients

35.

Which command is used to add, change, or remove fields on an existing table?

a)

CREATE TABLE

b)

DROP TABLE

c)

ALTER TABLE

d)

INSERT INTO

36.

What is the computer language that makes relational databases work?

a)

Python

b)

SQL

c)

C++

d)

Java

37.

A developer is working on an application that needs to be able to read, write, update, and delete database records. Which of the following database access methods should the developer use?

a)

Query builder

b)

Direct access

c)

User interface access

d)

Programmatic access

38.

Which type of data have elements in common but do not fit into rigid rows and columns in a table?

a)

Non-relational

b)

Structured

c)

Non-structured

d)

Semi-structured

39.

What is the technology that aggregates structured data from one or more sources called?

a)

Data warehousing

b)

Non-relational

c)

Relational

d)

Big Data

40.

Which of the following acronyms describes the traditional way to make sure data stays consistent across the entire database?

a)

CRUD

b)

ACID

c)

DBA

d)

SQL

41.

What are non-relational databases that deal with Big Data often referred to as?

a)

SQL

b)

NoSQL

c)

RDBMS

d)

CRUD

42.

The concern that Big Data is often obtained without the knowledge or consent of users falls under which Big Data concept?

a)

Data analytics

b)

Data extraction

c)

Data ethics

d)

Data mining

43.

What is asking specific questions to interpret Big Data called?

a)

Data analytics

b)

Data extraction

c)

Data ethics

d)

Data mining

44.

An application developer needs to store configuration data that can be retrieved each time the application is launched. The data must be in a format that could be easily viewed outside of the application and edited using any editor. Which of the following would be the BEST choice?

a)

Binary flat file

b)

Database Management System

c)

Relational database

d)

Text-based flat file