CS 1030 FINAL
W7: How do you select an element with id 'demo'?
#demo
W6: Which tag allows you to define a tag?
(Blank)
W13: What is the correct file extension for Python files?
.py
W13: Which operator is used to divide numbers?
/
W3: Inputs of 1 and 0 to an XOR gate produce what output?
1
W9: What is the binary equivalent of the decimal number 543?
1 0 0 0 0 1 1 1 1
W13: What is the final result of the expression 5 + 2 * 4 - 2?
11
W9: What numeric value in base 10 does the binary number 10000001 represent?
129
W9: What base 10 value is equivalent to 3C0D16?
15,373
W9: What is the positional value of the A in the hexadecimal number BEAD?
16
W9: What is the positional value of the 1 in the binary number 100000?
32
W6: What is the correct HTML element for inserting a line break
<br>
W6: Choose the correct HTML element to define emphasized text
<em>
W6: What is the correct html for inserting an image?
<img src="myimage.jpg" >
W7: What is the correct HTML for bringing in an External Style Sheet
<link rel="stylesheet" type="text/css" href="mystyle.css">
W6: Choose the correct HTML element to define important text
<strong>
W7: Which HTML tag is used to define an internal style sheet?
<style>
W6: Which of these elements are all <table> elements
<table><tr><td>
W6: Which HTML element defines the title of a document?
<title>
W14: In python which operator checks if two values are equal?
==
W5: Which HTML tag is used to provide links to pages?
A
W9: What does the subscript 16 indicate in the number C4A6 16?
A base 16 number
W11: Which is NOT a step of the database design process?
Add the Data
W3: In a computer, what function does a decoder usually perform?
Addressing Memory
W1: Name the four important elements of Babbage's Engine that are components of today's computer.
An input device, memory, a central processing unit, an output device
W1: What is the likely motivation for a directed hacker?
Anger, greed, politics
W10: A(n) __________________ is a data structure consisting of contiguous memory locations.
Array
W10: A(n) _______________ is used in an array to access each element.
Both Index and Subscript
W11: Which of the following is NOT a valid DBMS?
C++
W3: Which component of a computer is actually responsible for actually computing things?
CPU
W7: What does CSS stand for?
Cascading Style Sheets
W13: Which of the following converts source code into a computer language and results in an executable file?
Compiler
W9: What numeric value in hexadecimal is equivalent to the binary number 1101111010101101?
DEAD
W5: Which Internet protocol is used to assign IP addresses automatically?
DHCP
W3: What does a truth table do?
Demonstrate the output of a circuit
W3: Transistors control what?
Electric Current
W11: First normal form says:
Eliminate multivalued fields
W11: Second normal form says:
Every column that's not part of the primary key is fully dependent on the primary key
W1: Who does Computer security effect?
Everyone
W4: DSL is a combination of what two types of multiplexing?
FDM and TDM
W4: Which type of guided medium is the least susceptible to attenuation and inductance?
Fiber Optic cable
W14: Which data type do you use for the value 14.5?
Float
W5: Which of the following protocols makes the web possible?
HTTP
W4: Which has better signal-to-noise ratio
High
W2: Which of the following is NOT used by social engineers?
Honesty
W6: What does HTML stand for?
Hypertext Markup Language
W4: Which of the following standards is used in wireless networking?
ISO OSI
W7: Where in an HTML document is the correct place to refer to an external style sheet?
In the <head> section
W12: When an operating system is loaded, what is the first thing loaded into memory?
Kernal
W10: LIFO is an acronym for?
Last In First Out
W2: What is the most important for password security?
Length
W12: What is one of the major reasons OS's exist?
Makes it easier to develop software
W12: Which of the following is a primary function of the OS? Select all that apply.
Manage Resources Provide UI Manage Processes Provide Security
W2: When you get an email with an attachment you weren't expecting, what should you do?
Mark it spam and delete it
W2: If a public Wi-Fi network (such as in an airport or café) requires a password to access, it is generally safe to use that network for sensitive activities such as online banking
No
W11: Third normal form says:
No non-key columns depend on another non-key column
W12: Which is between hardware and user applications?
Operating Systems
W4: Which of the OSI layers is involved with a network's electrical specifications?
Physical
W12: What does POST stand for?
Power On Self Test
W11: What uniquely identifies a row in a table?
Primary key
W14: Which Value type do you use for the value "Joe"
String
W11: What does SQL stand for?
Structured Query Language
W5: Which portion of the TCP/IP protocol suite provides error detection and correction?
TCP
W1: What is the likely motivation of an undirected hacker?
Technical challenge
W12: When a computer is booting up, what is the first thing that happens when you press the power button?
The Bootstrap Loader is triggered
W1: IBM has some of its origins in what 1890 event?
The US Census
W1: What important concept is attributed to John Von Neumann?
The stored program concept
W1: What features of transistors made them superior for computers, compared with vacuum tubes?
They were cheaper, smaller, and cooler than tubes and lasted longer
W2: Where should you save backups?
To a different physical location
W5: The purpose of HTTP is to?
Transfer web pages
W4: Which of the OSI layers is responsible for the guaranteed delivery of data?
Transport
W2: Two factor authentication protects your accounts more because you have to confirm with a device only you have.
True
W13: Pseudocode should be written after the source code to ensure that the program was written correctly.
W13 false
W13: The only language computers can truly understand consists of 1s and 0s.
W13 true
W14: 1 Python is a case-sensitive programming language: (e.g. choice is not the same as Choice)
W14.1 true
W14: 2 @JT%name is a valid variable identifier.
W14.2 True
W14: 3 In a precondition loop, the statements in the loop might never execute.
W14.3 true
W12: Which of the following is not an example of an Operating System?
Window Explorer
W1: What is Von Nuemann Architecture/ model?
_____________ consists of a single, shared memory for programs and data, a single bus for memory access, an arithmetic unit, and a program control unit.
W7: Which property is used to change the background color?
background-color
W7: Which is the correct css syntax?
body { color:black }
W3: A ______________________ in computer terminology is a set of wires and protocols designed to facilitate data transfer.
bus
W1: What does a modification attack do?
changes software and information
W14: Which data type do you use for the value 'e'?
char (character)
W12: In a linux terminal, what is the command to duplicate a file?
cp
W3: Which of the following is not one of the bus signal groups
fetch
W14: How do you start writing an if statement in python?
if x>y:
W14: Which python statement is used to gather input?
input
W13: Which of the following translates a program's statements, one by one, into a language the computer can understand?
interpreter
W3: Which type of I/0 processing is most efficient?
interrupt
W13: Which one is NOT a legal variable name?
my-var
W14: "If" ... "elif" ... "else" blocks check the conditions from the top to the bottom. It will stop when
one is matched
W7: How do you center the text in all <p> tags?
p { text-align: center; }
W7: Which HTML attribute is used to define inline styles?
style
W7: How do you make each letter start with a capital letter?
text-transform: uppercase;
W13: What is the name used to identify a specific location and value in memory?
variable
W13: How do you start writing a while loop in Python?
while x > y:
W4: Which of the following is NOT one of the OSI model layers?
wireless
W5: Which of the following is an example of a URL
www.quizlet.com
W9: What base 16 value is equivalent to the decimal number 1234?
4D2
W9: What is the largest NUMBER OF ITEMS that can be represented with four hexadecimal digits?
65,536
W9: What is the minimum number of bits required to represent 256 colors?
8
W6: Which doctype is correct for HTML5?
<!DOCTYPE html>
W5: Which of the following is an example of an HTML tag?
<HTML>
W10: FIFO is an acronym for....
First In First Out
W3: Which of the following circuit types is used to create SRAM?
Flip-flop
W4: What is a Fiber Optic cable made of?
Glass
W12: What does GUI Stand for
Graphical user interface
W5: Which of the following is not an Internet-related protocol?
HTML
W11: Which of the following SQL SELECT options is used to organize the data being returned?
ORDER BY
W3: Most computers today are based on?
Von Nuemann Architecture
W1: 1 The term "hacker" originally had a negative connotation
W1.1 False
W1: 2 In hardware, the next step up from the transistor was the transmitter.
W1.2 False
W10: The statement char[ ] aAnswers = new char[5] declares an array that has memory locations of 1 through 5.
W10 False
W10: A Queue uses a FIFO structure.
W10 True
W10: A stack uses LIFO structure
W10 True
W10: 1 A single array can contain information of different data types (integers, characters, decimals, etc.)
W10.1 False
W10: 2 Arrays are a good data structure to use with dynamic data.
W10.2 False
W11: A table is divided into databases
W11 False
W11: By default, data returned by the SQL SELECT statement is in descending order.
W11 False
W12: Operating systems only exist on laptop/desktop computers
W12 false
W4: 1 A hub has a single input and a single output
W4.1 False
W4: 2 Switches forward traffic from one device to all other devices attached the switch.
W4.2 False
W5: Routers are critical to the operation of the internet
W5 True