AP Computer Science

Pataasin ang iyong marka sa homework at exams ngayon gamit ang Quizwiz!

Which of the following is NOT a possible value displayed by the program?

"carrot"

What is the value of sum after the code segment is executed?

16

What is displayed as a result of executing the code segment?

21 40 30 50

What is the minimum number of connections that must be broken or removed in the network before computer E can no longer...

3

...

A lossless compression algorithm can guarantee that compressed information is kept secure, while a lossy compression...

A computer program uses 3 bits to represent integers. When the program adds the decimal (base 10) numbers 5 and 3, the ...

An overflow error occurred

Which of the following changes can be made so that the code segment works as intended?

Changing line 1 to IF(score + penalty < 0)

....

Collaboration that includes diverse backgrounds and perspectives can eliminate the need for software testing

Which of the following best describes the impact of Creative Commons?

Creative Commons gives creators of digital content the ability to indicate how their works can be legally used and distributed, enabling broad access to digital information.

Which of the following lists the values in order from least to greatest?

Decimal 5, binary 1011, decimal 12, binary 1101

A digital photo file contains data representing the level of red, green, and blue for each pixel in the photo. The file also contains.. taken. For which of following goals would analyzing the metadata be more appropriate than analyzing the data?

Determining the likelihood that the photo was taken at a particular public event

Which of the following best explains how data is typically assembled in packets for transmission over the Internet?

Each packet contains data to be transmitted, along with metadata containing information used for routing the data.

While debugging the program, the student realizes that the loop never terminates. Which of the following changes can be made...

Inserting index (arrow to the left) -1 between lines 7 and 8

Which of the following best describes one of the benefits of using an iterative and incremental process of program development?

It helps programmers identify errors as components are added to a working program.

What ASCII character is represented by the binary (base 2) number 1001010?

J

Which of the following is a benefit of using a list as a data abstraction in a program?

Lists often allow their size to be easily updated to hold as many data values as needed.

Which of the following best describes the result of running the program code?

Nothing is displayed; the program results in an infinite loop.

Which of the following explains a benefit of using open standards and protocols for Internet communication?

Open standards and protocols allow different manufacturers and developers to build hardware and software that can communicate with hardware and software on the rest of the network.

Which of the following best compares the values displayed by programs A and B?

Program A and program B display the same number of values, but the values differ

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

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

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.

Which of the following describes the result of executing the program?

The program displays the sum of the odd integers from 1 to 19.

What are the values of first and second as a result of executing the code segment?

The value of first is true, and the value of second is true.

A company that develops mobile applications wants to involve users in the software development process. Which of the following best explains the benefit in having users participate?

Users can provide feedback that can be used to incorporate a variety of perspectives into the software.

What are the contents of yourList after the code segment is executed?

[10, 30, 50, 70]

According to the domain name system (DNS), which of the following is a subdomain of the domain example.com?

about.example.com

Internet protocol version 6 (iPv6) has been introduced to replace the previous version (iPv4). Which of the following best describes..

iPv6 addresses are shorter than iPv4 addresses, which allows for faster routing of packets

The variable age is used to represent a person's age in years. Which of the following is the most appropriate...

number

Which of the following code segments can be used to update the values of the variables as shown in the table?

temp (arrow to the left) word1 word1 (arrow to the left) word3 word3 (arrow to the left) temp

If x has a value of 7 and y has a value of 20, what is displayed as a result of executing the code segment?

three


Kaugnay na mga set ng pag-aaral

Chapter 3.4.4 Practice Questions

View Set

English JULIUS CAESAR test SHORT ANSWERS plus LONG ANSWERS

View Set

NCLEX Review Quiz 3 Saunder's Questions (Ch. 36-38; 50-53)

View Set

Quiz 9 - Conceprtual Knowledge & Intelligence and executive functioning

View Set