AnswersIntro to Computer Science BTest: Programming Algorithms

Test: Programming Algorithms Answers

18 verified answers3 views
1
Free Preview

A(n) ______________ is a system of data tables that are connected through common fields, such as an ID number.

A
embedded program
B
data visualization
C
relational database management system
D
web scraping application
4

Which of these can help those with accessibility issues?

A
putting two spaces after a period
B
only capitalizing proper nouns and the first word in a sentence
C
flashing images
D
centering all the text on a page
7

What is a relational database management system?

A
an application is an application that collects vast amounts of data from a host of websites
B
a language used to search for desired information in a relational database management system
C
software used to control the function of an electronic device, such as a router or a microwave
D
tables holding data that are connected through common fields, such as an ID number
8

Which programming languages are the best choices for desktop applications? Select 3 options.

A
HTML
B
Java
C
Visual Basic
D
Python
E
C
9

How does a file reader know where one line starts and another ends?

A
Python knows how many characters to expect in a line.
B
Every line in a text file has a hidden EOL (end of line) set of characters.
C
The last item in a line of data does not have a comma after it.
D
Every line starts with a BOL (beginning of line) character.
10

Which of the follow is an event? Select 4 options.

A
scanning a credit card when you shop
B
moving a mouse
C
clicking a mouse button
D
a sensor detecting motion of an earthquake detector
E
adding 3 and 4 in a program
11

What is a widget?

A
a part of a GUI that allows a specific type of interaction with the user
B
an action taken by the user or a process, such as a user clicking a mouse or pressing a key on a keyboard
C
an algorithm for handling an error
D
a part of a program that responds to an event
14

Which of these can aid readability for everyone, but especially for those with accessibility issues?

A
using red text to indicate bad choices and green text to indicate good choices
B
using all uppercase text
C
using whitespace to group related content
D
putting two spaces after a period
16

This line of code is in your program. outFile = open("another.txt", "a") How will outFile interact with the file it opens?

A
read and write to the file
B
write to the file, creating a new file
C
write to the file, adding to the current contents of the file
D
read from the file
17

Your program to find the minimum value in a list has an error. Which of the following can be used to help find the error?Select 3 options.

A
print debugging
B
a customer satisfaction survey
C
test cases
D
automated testing
E
comments in your program
25

Which of the following is an event handler?

A
moving a mouse
B
scanning a credit card when you shop
C
clicking a mouse button
D
displaying a message

Did you find these answers helpful?