wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Software Development Concepts 2

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following statements BEST describes the primary function of a boolean value in a program?

a)

To hold large amounts of text data

b)

To represent either a 'true' or 'false' state

c)

To store the date and time values

d)

To represent numerical values

2.

Which of the following fundamental data types is specifically used to represent real numbers, including those with decimal or fractional parts, in a programming context?

a)

Integer

b)

Float

c)

Char

d)

Boolean

3.

In a high-level programming language, you have a repeating sequence of actions that needs to process different sets of data at various points in your code. Which programming concept is BEST suited to bundle these actions for future reuse and maintain a DRY (Don't Repeat Yourself) approach?

a)

Defining an array that holds pieces of the repeating code

b)

Creating a function that encapsulates the repeating actions

c)

Creating a loop structure to continuously perform the repeating actions

d)

Establishing a list of variables for each repeating action

4.

Your company's CEO has just tasked your IT team with creating a safeguarding measure that could be used to completely restore the customer database in the event of a system failure or data loss. This measure should include a comprehensive backup of all data and structures in a format that can be used to recreate the original database. What term BEST describes this safety measure?

a)

Using query builders and report generation tools

b)

The process of assigning roles and permissions

c)

Manual scripting of SQL commands for database interaction

d)

Creating a Database Dump

5.

In SQL, which statements are used to grant or deny specific rights to user accounts over objects in the database?

a)

Data Manipulation Language (DML)

b)

Data Definition Language (DDL)

c)

Data Query Language (DQL)

d)

Data Control Language (DCL)

6.

Which of the following is an example of programmatic access to a database?


a)

Sending an email with data to be manually inputted into the database

b)

Calling a database through an API endpoint

c)

Manual data entry into the database using a GUI interface

d)

Exporting data from the database to a CSV file using a GUI based database management tool

7.

In database management, what does the term "User Interface/Utility Access" primarily refer to?

a)

The process of adjusting the server settings

b)

Assigning roles and permissions to users

c)

The use of GUI-based tools or software to interact with and perform operations on a database

d)

The process of directly modifying data in a database via SQL commands

8.

Which of the following BEST describes the way a function should be used in a program?


a)

Functions should be used to repeat a block of code continuously until the program ends

b)

Functions should be used to store different types of data values

c)

Functions should never be used in a program

d)

Functions should be used to group related code into a single callable unit

9.

Liam, a software engineer at a tech company, is designing a program that will perform calculations related to the speed of sound. The speed of sound in air under standard conditions is 343 meters per second. Which programming recommendation would work BEST for representing the speed of sound in his program?

a)

Use a function to represent the speed of sound


b)

Use an input parameter to represent the speed of sound


c)

Use a mutable variable to represent the speed of sound


d)

Use a constant to represent the speed of sound


10.

For which of the following languages can you not use pseudocode?


a)

JavaScript

b)

Python

c)

Java


d)

Every language can be pseudocoded to help a programmer plan out their next steps


e)

Every language can be pseudocoded to help a programmer plan out their next steps