Cs

0.0(0)
studied byStudied by 57 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/113

flashcard set

Earn XP

Description and Tags

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

114 Terms

1
New cards
Computers___
Process input to produce output
2
New cards
Algorithms are written in machine language
False
3
New cards
A computing agent___
Executes the instruction in an algorithm
4
New cards
Select all answers that are true
Data is communicated via networks
5
New cards
A hard drive is a __
Hardware component
6
New cards
Programming languages are informal languages that make suggestions that computers may or may not follow
False
7
New cards
Memory is ___
An ordered sequence of storage cells that can be accessed by address
8
New cards
The central processing Unit (CPU)is also called the __ of the computer
Brain
9
New cards
Ports are ___ that allow multiple clients to exchange data with the same server
Channels
10
New cards
A binary digit have __ possible values
Two
11
New cards
Random access memory (RAM) is also called primary memory
Primary memory
12
New cards
Semiconductor storage media utilizes __ to store data permanently
Solid state circuitry
13
New cards
Optical storage media utilizes __ to store and access data
Laser technology
14
New cards
Machine code is ___
The language used directly by the computer
15
New cards
A loader is __
Copies programs from secondary memory to primary memory
16
New cards
Two major types of software are __
Systems software and applications software
17
New cards
A file system organizes data__
On secondary storage media
18
New cards
A terminal-based interface contains buttons, drop down menus and icons.
False
19
New cards
A touchscreen interface allows a user to enter input by __
Tapping and gesturing
20
New cards
Fortran, Cobol, Java and Python are___
High level programming languages
21
New cards
The text editor that we use to write our python programs is __
Replit
22
New cards
Syntax errors are caused by having too many window open
False
23
New cards
A virtual Machine is a hardware tool that behaves like a high-level computer.
False
24
New cards
The Abacus was one of the first __
Calculators
25
New cards
The Jacquard's Loom was designed to accept input in the form of a
Set of punched cards
26
New cards
Herman Hollerith developed a machine that was used by the
U.S. Census Bureau
27
New cards
Boolean data is named after the British school teacher_
George Boole
28
New cards
Alan Turing developed the concept of a universal machine that could be specialized to solve any computable problem, and to demonstrate that some problems are unsolvable by computers.
True
29
New cards
The computer that calculated ballistics tables for the artillery of the U.S. Army toward the end of WW II was called the __
ENIAC
30
New cards
The early mainframe computers were larger than out classrooms
True
31
New cards
A compiler ___
Automatically converts instructions from a high-level language to machine language
32
New cards
____ applications that mimic human thinking and learning
Artificial Intelligence
33
New cards
___ ignores complex details
Abstraction
34
New cards
__ are used to build computers circuitry for memory and a processor
Transistors
35
New cards
A solid-state device has moving parts
False
36
New cards
Moore's Law thats that processing speed and storage capacity will double every ___
24 months
37
New cards
Starting a payroll job at 10:00 PM Saturday night is an example of
Batched Processing
38
New cards
A CRT is a __
Cathode Ray Tube
39
New cards
The first process microprocessor chip was the ___
Intel 8080
40
New cards
Interactive 3D environments are called ___
Virtual Reality
41
New cards
Ignoring the complex details of a task or data structure is called___
Abstraction
42
New cards
A chunk of code that can be treated as a unit and called to perform a task is called a___
Function
43
New cards
Functions may have optional and/or required arguments
True
44
New cards
All python programmers must have a __
Main Module
45
New cards
2***3+4*5 =
28
46
New cards
The __ is used to development software
Waterfall model
47
New cards
Programmers never go back to previous software development phases.
False
48
New cards
Variables serve __ purposes
Two
49
New cards
There are __ types of python comments
Three
50
New cards
1/4 has infinite precision
False
51
New cards
An arithmetic expression consists of __
Operands and operators familiar to from algebra
52
New cards
Python modules are __
Taken from libaries
53
New cards
The most expensive software development lifecycle phase is ___
Maintenance
54
New cards
The two python numeric data types are __
int and float
55
New cards
The planning and organizing of a program is called software development.
True
56
New cards
The software development life cycle beings with ___
A customer request
57
New cards
Programmers never return to an earlier phase of the software development life cycle.
True
58
New cards
A stylized half-English, half-code language written in English but suggesting program code is called ___
Pseudocode
59
New cards
A logic error prevents the program from running
False
60
New cards
A set of tests cases that exercise the capabilities of a software component is called a ___
Test Suite
61
New cards
A sequence of two characters in a string, the first of which is / is called a(n)
escape sequence
62
New cards
A name that receives a value at program start-up and whose value cannot be changed is called a(n)
symbolic constant
63
New cards
If n is an integer variable, then you can represent a number in scientific notation by multiplying it by __
10**n
64
New cards
Arabic letters are contained in the ASCII character set.
False
65
New cards
When a loop the executes a predetermined number of times it is called a(n)___
Definite iteration
66
New cards
a+=3 is an example of a(n)
Augmented assignment
67
New cards
The out of for i in range (1.4): print(i) will be
1 2 3
68
New cards
Loop counter variables can count up or down
True
69
New cards
Selection statements allow a computer to make choices based on a ___
Condition
70
New cards
An if statement with no elif is a one-way selection statement.
True
71
New cards
To represent all possible outcomes of Boolean expressions, we use a ___
Truth Table
72
New cards
A while loop is also call a(n)___
Entry-control loop
73
New cards
A break statement will cause an exit from a loop.
True
74
New cards
The ___ method returns a random number
random.radint
75
New cards
A statement that allows the computer to repeat or select an action is call a(n)__
Control statement
76
New cards
A structured loop consisting of an initializer expression, a terminator expression , and update expression, and a statement is called a(n)
for loop
77
New cards
A sequence of items ordered by position is called a(n)
List
78
New cards
Tabular format is the presentation of output in rows of data that are either left-aligned or right-aligned.
True
79
New cards
The number of columns used for output of text is called the ___
Field width
80
New cards
A prototype is ____
A tough draft or outline of a program, which runs but without its full functionality
81
New cards
The amount by which a counter is incremented or decremented in a count controlled loop is called the __
Step Value
82
New cards
A conditional iteration continues as long as a condition is true.
True
83
New cards
A loop is also called a(n)__
Pass
84
New cards
Tue first line of a loop is called the ___
Loop header
85
New cards
A disjunction uses the logical operator____
or
86
New cards
A conjunction uses the logical operator__
and
87
New cards
Adding all of the numbers in the range of a for loop will give you the ___
Summation
88
New cards
When the result of a loop is one less or one greater than the expected value, it is called the ___
Off-by-one-error
89
New cards
Halting the evaluation of a Boolean expression after evaluation the results of the first subexpression is called ___
Short-circuit evaluation
90
New cards
A portion is a string called a ___
substring
91
New cards
The subscript operator is ___
[]
92
New cards
Attackers use ___ to observe data crossing wireless networks.
Sniffing software
93
New cards
If the Caesar cipher key is 5, every "a" in the plaintext will be replaced with a ___
F
94
New cards
The binary representation of 625 is ___
1001110001
95
New cards
To convert from octal to binary, use two bits to represent each octal digit
False
96
New cards
To convert from hexadecimal from binary, use for bits to represent each hexadecimal digit
True
97
New cards
split() is a
Method
98
New cards
A for loop treats as input file as a sequence of lines
True
99
New cards
The extension of a Python program file is ___
.py
100
New cards
A data structure in which one cannot insert, remove or replace the values contained therein is a ____
Immutable Data structure