Cumulative Exam — Cumulative exam Answers

4 verified answers1 views
1
Free Preview

Why is it important to begin development of a software solution with a programming design in place?

A
A programming design summarizes the results of a software development process.
B
A programming design summarizes the marketability of a software solution and the strategy for product placement.
C
A programming design communicates decisions about the programming approach and saves time, money, and effort.
D
A programming design communicates decisions about the approach for hiring contractors and saves time, money, and effort.
2
Free Preview

Dinah is using an IDE to write, modify, and save code. Which tool should she use?

A
a source code editor
B
a build automation tool
C
a compiler
D
a debugger
3

A Products table and an Orders table have several linked records that are joined by a cross-referencing table named ProductsOrders. What kind of table relationship do these tables demonstrate?

A
one-to-one
B
one-to-many
C
many-to-many
D
many-to-none
4

Mark and John are developing a program using Python. They name a variable 24_hour_mart, but then recognize that this name violates a Python naming convention. What naming convention does it violate?

A
Variable names can not include the underscore character (_).
B
Variable names can not begin with a number.
C
Variable names can not exceed ten characters in length.
D
Variable names can not be fewer than fifteen characters in length.
5

Which task is most suitable for creating an algorithm?

A
saving time writing a report
B
explaining how to set up a mobile phone for use
C
choosing photos to put on a website
D
finding the best of three suggested routes to drive to a concert
6

Use the line of code below to choose the correct answer.while (count < 7): print ‘Great!’This code is an example of a(n)

A
infinite loop.
B
pass statement.
C
for loop.
D
single statement suite.
7

Marie can now edit her photos, send them in emails, print them on a printer, and use them as wallpaper on her computer. This is because Marie converted the photos to

A
JPG files.
B
TASS files.
C
AI files.
D
OCR files.
8

Variables differ from values in that

A
variables are always letters of the alphabet and values are always numbers.
B
a variable is a symbol or a placeholder while a value is assigned to a variable as the result of a function.
C
a variable is accessible from anywhere in a program while a value is accessible only in one situation.
D
a variable is defined by the programmer while a value is defined by the program.
9

A looping construct that continues to repeat until the expression becomes false is

A
a while loop.
B
a for loop.
C
an infinite loop.
D
a pass loop.
10

Which is a real-world example of a procedure?

A
calculating the tip given the total at a restaurant
B
pressing submit and getting a new password
C
dividing to determine the number of cookies to distribute to each guest
D
getting up and dressing before school
11

Which best describes a computer bug?

A
a piece of computer hardware that is out of date or has a newer version
B
a piece of computer software containing defects that prevent a program from running properly
C
a piece of computer hardware that is being used improperly
D
a piece of computer software that is out of date or has a newer version
12

Comments should

A
give the reader the background of the programmer.
B
be written for every line of code.
C
communicate the purpose of the code that follows it.
D
give information about how many hours it took to write the code.
13

What does a sort tool enable you to do in a database?

A
remove irrelevant data from a form
B
hide irrelevant data in a form
C
arrange records by number of typos entered in a field
D
arrange records by field in a form
14

Mrs. Patel uses a computer program to balance her checkbook. Which of the following best explains how the computer algorithm helps Mrs. Patel?

A
It gives judgments about how Mrs. Patel spends her money.
B
It makes Mrs. Patel modern.
C
It reduces errors.
D
It shows how to write checks.
15

To create a nonlinear presentation that has external links, the designer should

A
include every slide in an order that loops continuously, causing the whole presentation to repeat.
B
include hyperlinks on each page to a table of contents that shows the order of the presentation.
C
include hyperlinks to websites or other slides that the user can choose at will.
D
include slides that move from start to finish following the same path each time.
16

The unique identifier for each record in a database table is called the

A
record ID.
B
ID number.
C
primary key.
D
row number.
17

A programmer is responsible for solving a problem and making a presentation that includes his solution. He does not have much room to show the steps, so he uses mostly words and a few symbols. For this presentation he decides to use

A
a flowchart because pseudocode is harder to write and understand.
B
pseudocode because it gives a summary of the process with concise words and symbols.
C
a flowchart because it requires special training to understand.
D
pseudocode because it uses pre-defined shapes to show the steps.
18

When preparing a photo for a magazine, a graphic designer would most likely need to use a program such as

A
Microsoft Excel to keep track of magazine sales.
B
Microsoft Word to write an article about the photo.
C
Adobe Photoshop to manipulate the photo.
D
Autodesk Maya to create 3-D images that match the photo.
19

Which statement is true?

A
An employee list can give the departments and job titles of employees.
B
A product list can include names and addresses of buyers of the product.
C
A medical record can include consumer buying behaviors of prescriptions.
D
A market research report can give names of employees of a company.
20

Which is a correctly formatted Python tuple?

A
[12, “circle”, “square”]
B
{“n”:12, “shape1”: “circle”, “shape2”: “square”}
C
(12, “circle”, “square”)
D
12 circle square

Did you find these answers helpful?