AP Computer Science Principles Test 2

Ace your homework & exams now with Quizwiz!

Traceroute traces the route and measures the delay of packets moving through the Internet

True

All ciphers have:

key and algorithm

A one way function is

one that's easy in one direction and hard in the other

variable

which is a use of abstraction to represent the data the variable holds

The reason letter frequency analysis worked was:

you can track the pattern of frequency for each letter

____ is a measure of a network's speed measured in bits per second.

Bandwidth

Trying all combinations to break a cipher is called:

Brute Force

Which computer part executes the program instructions?

Central Processing Unit (CPU)

____ is a network of servers that keeps track of the IP address assigned to a domain name.

DNS

Hosts have IP addresses and can be reached using either IP address or ____.

Domain Name

The terms World Wide Web and Internet can correctly be used interchangably.

False

Every device is assigned a(n) ____ when it connects to the Internet.

IP Address

What does Python do with a comment?

Ignores It

_____ is a measure of the time it takes information to get from its source to its destination

Latency

The Internet is a _______ where host computers are connected by routers.

Network of Networks

Name one of the Internet abstraction models

OSI

____ are messages that are broken into fixed length packets and routed independently

Packets

Which of the following elements of a mathematical expression in Python is evaluated first?

Parenthesis ( ) - follows math order of operations

The following are the types of computer commands used for programs:

Sequential steps Conditional steps Repeated steps

The Caesar Cipher is a(n) _____ cipher.

Symmetric

What does the following statement do? x = x + 2

Take the current value of x, add two & put the sum back in x

What is the best way to think about a syntax error in your program?

The computer did not understand the statement you entered

Asymetric cipher's have

a public and private key

In the following code, what is x? x = 42

a variable

!=

does not equal

==

equals


Related study sets

Intro to Nursing Concepts, PrepUs Ch 4

View Set

Sir Gawain & the Green Knight: Characters

View Set

Islamic Studies Semester 2 Final Study Guide

View Set

Opera Composers during Baroque Period

View Set