Search Header Logo

Final Review 60Q

Authored by Vision Pathak

Computers

8th Grade

Used 8+ times

Final Review 60Q
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

60 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To qualify for a particular scholarship, a student must have an overall grade point average of 3.0 or above and must have a science grade point average of over 3.2. Let overallGPA represent a student’s overall grade point average and let scienceGPA represent the student’s science grade point average. Which of the following expressions evaluates to true if the student is eligible for the scholarship and evaluates to false otherwise?

(overallGPA > 3.0) AND (scienceGPA > 3.2)

(overallGPA > 3.0) AND (scienceGPA ≥ 3.2)

(overallGPA ≥ 3.0) AND (scienceGPA > 3.2)

(overallGPA ≥ 3.0) AND (scienceGPA ≥ 3.2)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The following code segment is used to determine whether a customer is eligible for a discount on a movie ticket.

val1 ←← (NOT (category = "new")) OR (age ≥ 65)

val2 ←← (category = "new") AND (age < 12)

If category is "new" and age is 20, what are the values of val1 and val2 as a result of executing the code segment?

val1 = true, val2 = true

val1 = true, val2 = false

val1 = false, val2 = true

val1 = false, val2 = false

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following best describes a direct benefit in using redundant routing on the Internet?

Redundancy enables messages to be transmitted with as few packets as possible.

Redundancy enables network devices to communicate with as few network connections as possible.

Redundancy often allows messages to be sent on the network even if some network devices or connections have failed.

Redundancy prevents network communications from being intercepted by unauthorized individuals.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The following code segment is intended to set max equal to the maximum value among the integer variables x, y, and z. The code segment does not work as intended in all cases.

Which of the following initial values for x, y, and z can be used to show that the code segment does not work as intended?

x = 1, y = 2, z = 3

x = 1, y = 3, z = 2

x = 2, y = 3, z = 1

x = 3, y = 2, z = 1

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Consider the code segment below.

Which of the following changes will NOT affect the results when the code segment is executed?

Changing line 3 to b10

Changing line 3 to b+10

Changing line 7 to 

b20

Changing line 7 to b+20

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A certain social media Web site allows users to post messages and to comment on other messages that have been posted. When a user posts a message, the message itself is considered data. In addition to the data, the site stores the following metadata.

- The time the message was posted

- The name of the user who posted the message

- The names of any users who comment on the message and the times the comments were made

For which of the following goals would it be more useful to analyze the data instead of the metadata?

To determine the users who post messages most frequently

To determine the time of day that the site is most active

To determine the topics that many users are posting about

To determine which posts from a particular user have received the greatest number of comments

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a true statement about program documentation?

Program documentation should not be changed after it is first written.

Program documentation is only needed for programs in development; it is not needed after a program is completed.

Program documentation is useful when programmers collaborate but not when a programmer works individually on a project.

Program documentation is useful during initial program development and also when modifications are made to existing programs.

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?