CS 1030 Final Exam

Réussis tes devoirs et examens dès maintenant avec Quizwiz!

Which character is used to indicate an end tag?

/

What will the following code print?

0 1 2 3 4 done

Match the following Terms

1. IP address - the unique number which identifies your computer to other computers on the same network 2. Packets - a piece of information sent over the network and its routing information 3. Router - any computer or device which sends packets from one network to another such as from your home network to the internet 4. TCP Transmission Control Protocol - operates above IP for additional features + addresses not tackled by IP 5. DNS Domain Name System - network service that resolves computer names to IP addresses 6. Hypertext Transfer Protocol - HTTP stands for : Server - a computer or computer program which manages access to a centralized resource or service in a network Client - a desktop computer or workstation that is capable of obtaining information and applications from a server

Which lines of code need to have a colon (:) after them?

3,4,6,9

What is the correct HTML for creating a hyperlink?

<a href="https://repl.it/~">repl.it</a>

Which of the following HTML tags does not have an end tag?

<br>

Choose the correct HTML element for the largest heading.

<h1>

Which tag is the root element of an HTML page?

<html>

Correct html for creating an image

<img src="spot.png" alt="class icon">

What are Private Keys?

A key (variable) that is used to decrypt data. This is usually known only by the person allowed to decrypt the data.

What are public keys?

A key (variable) that is used to encrypt data. This is known by the world and used to encrypt data for a particular person or company.

What does API stand for?

Application programming interface

What is Zimmerman's Law?

As technology increases, surveillance will increase

Decode the following secret message using the Substitution Cipher. Qbmzfum qbmzfum

Awesome awesome

Why was IPv6 created

Because the different available combinations for IPv4 were becoming smaller

Which of the following is NOT true about python identifiers

Can't contain underscores

Steps of computational thinking

Decomposition Pattern Recognition Pattern Generalization and Abstraction Algorithm Design

When Katherine Lester turned 18 she again traveled to meet her "true love". They broke up and her story showed up on which TV show?

Dr. Phil

What is NOT html?

HTML describes the structure of the internet

What character in python is used to indicate that the line is a comment and not code to be evaluated and executed?

Hashtag (#)

What will the following code print?

I am first None

What can happen when the condition on a while loop is always True?

Infinite Loop

What will the following code print if the temp is 99?

It will print 'Too Hot' continuously Too Hot Too Hot Too Hot...

Katherine Lester, a 16-year-old honors student from Fairgrove, Michigan, went missing in June 2006 after communicating with a male over the internet. Where was she found?

Middle East

Is gmail encrypted?

No (false)

What will be printed when the following code is executed?

Problem 5

What is the return value of the foo() function?

See the frog jump

Who is making the web standards?

The World Wide Web Consortium

What is Moore's Law?

The density of integrated circuits seemed to double every couple of years.

Why was a father shocked when he received condolences on his daughters death from a friend on the other side of the globe?

The friend knew his daughter was dead before he did.

What are Asymmetric Keys

The key used to encrypt the data is different from the key used to decrypt the data.

What are Symmetric Keys?

The same key is used to encrypt and decrypt the data.

What is ECHELON according to the reading in "Blown to Bits"?

The world's biggest eavesdropping enterprise

Which of the following statements does NOT evaluate to True or False?

a = b

cipher

a secret way of encoding data

cracking encryption

a way to decode encrypted data without knowing the encryption scheme

Which one of the following is the correct way to create a variable named animal and put "dog" inside of the variable.

animal = dog

What will the following code print?

frog frog See the frog jump

Which import statement is required to make the following line of code work? print(random.choice(texts))

import random

frequency analysis

looking at how often letters are used in a language

Which of the following is the correct way to call this function mystery and print the return value?

print(mystery("I love a good mystery"))

Which line of python code matches the following Scratch block?

print(random.choice(texts))

What is the primary purpose of a web browser?

read HTML documents and display them correctly

Which line of code will get data from the user and put it in a variable called sound?

sound = input("Enter a sound: ")

Which line of python code matches the following Scratch block?

text.append(answer)

encryption

the process of converting data into a secret format

decryption

the process of taking encrypted code and making it readable

Which loop in python is a condition controlled loop?

while

Assume there are two valid conditions 'j' and 'k' and they are stored in the variable 'quest'. What would the while loop be?

while not (quest=="j" or quest=="k"):


Ensembles d'études connexes

Context clues 15 Quizizz/Quizlet

View Set

GGR Wk 2 Yr 2 - Jaundice/Abnormal Liver Functions

View Set

practice: american revolution and constitutional foundations exam

View Set

Leadership Exam 1 Chapters: 1,2,3,4,11,18

View Set

INTV Intelligence Collections 350

View Set

NCLEX-RN Prep U Acid-Base balance

View Set