Home
Explore
Exams
Search for anything
Login
Get started
Home
Engineering
Computer Science
COMP 126 Chaps 1-3
0.0
(0)
Rate it
Studied by 2 people
View linked note
Learn
Practice Test
Spaced Repetition
Match
Flashcards
Card Sorting
1/174
Earn XP
Description and Tags
Computer Science
Add tags
Study Analytics
All
Learn
Practice Test
Matching
Spaced Repetition
Name
Mastery
Learn
Test
Matching
Spaced
No study sessions yet.
175 Terms
View all (175)
Star these 175
1
New cards
Is a set of instructions that a computer follows to perform a task
program
2
New cards
What are examples of programming?
Microsoft word, powerpoint
3
New cards
Programs are commonly referred to as ________
software
4
New cards
individuals that create computer software
Programmers and software developers
5
New cards
The physical devices that a computer is made are referred to as the computer's ________
hardware
6
New cards
Program is the term used when the computer performs the tasks the program tells it to do
Running and executing
7
New cards
What is ENIAC??
-World's first programmable
-Built in 1945
-Designed to calculate artillery ballistic tables for the U.S Army
8
New cards
Computer stores the program that is running as well as the data
Random-access memory (RAM)
9
New cards
A computer can read the contents of ROM, but it cannot change its contents, or store additional data here; nonvolatile type of memory
ROM (Read-Only Memory)
10
New cards
-Type of memory that can hold data for long periods of time
-Programs and important data are stored in secondary storage
Secondary Storage Devices
11
New cards
Data is stored by magnetically encoding it onto a circular disk
Disk drive
12
New cards
-No moving parts
-Operates faster than a traditional disk drive
Solid-State drives
13
New cards
Small devices that plug into the computer's universal serial bus port
USB drives
14
New cards
-Data is encoded as a series of pits on the disc's surface
-holds large amounts of data
Optical devices
15
New cards
storing it on a remote server via the internet, or via a company's private network.
Cloud storage
16
New cards
Any data the computer collects from people and from other devices
input
17
New cards
hardware component that collects the data
input device
18
New cards
Any data the computer produces for people or for other devices
output
19
New cards
The hardware component that formats and presents the data is
output device
20
New cards
Everything in a computer does is controlled by ______
software
21
New cards
Programs that control and manage the basic operations of a computer are referred to as
system software
22
New cards
controls the internal operations of the computer’s hardware and manages all of the devices connected to the computer.
Operating system
23
New cards
Programs perform a specialized task that enhances the computer’s operation or safeguards data
Utility programs
24
New cards
Programs that people normally spend most of their time running on their computers performing everyday tasks are
application software
25
New cards
What are examples of application software?
-Word processing
-Spreadsheet
-Database
-Presentation
26
New cards
A computer’s memory is divided into tiny storage locations known as
bytes
27
New cards
A byte is divided into eight smaller storage locations
bits
28
New cards
A positive charge is similar to a switch in the ____ position
on
29
New cards
A negative charge is similar to a switch in the ____ position
off
30
New cards
The positive charge or the ____ position is represented by the digit 1 (storing numbers)
on
31
New cards
The negative charge or the ____ position is represented by the digit 1 (storing numbers)
off
32
New cards
The largest value that can be stored in a byte with eight bits is _____
255
33
New cards
Two bytes are used for larger numbers; maximum value is
65535
34
New cards
Characters are stored in the computer's memory as binary number
Storing characters
35
New cards
Coding Scheme
ASCII (American Standard Code for Information Interchange)
36
New cards
Extensive encoding scheme
Unicode
37
New cards
Binary numbering system can be used to represent only integer numbers
Advanced Number Storage
38
New cards
Negative numbers are encoded using ______
two's complement
39
New cards
Real numbers are encoded using __________
Floating-point notation
40
New cards
Data that is stored binary
Digital data
41
New cards
any device that works with binary data
digital device
42
New cards
Digital images are composed of tiny dots of color known as _______
pixels
43
New cards
Digital sound is broken into small pieces known as ________
samples
44
New cards
CPU only understands instructions written in _________
machine language
45
New cards
The entire set of instructions that a CPU can execute is known as the CPU's
instruction set
46
New cards
term used when the CPU executes the instructions in a program
Fetch-decode-execute cycle
47
New cards
The Fetch-decode-execute cycle
-Fetch
-Decode
-Execute
48
New cards
used that are known as mnemonics
Assembly languages
49
New cards
Used to translate an assembly language program to machine language
Assembler
50
New cards
Create powerful and complex programs without knowing how the CPU works, using words that are easily to understand
High-level languages
51
New cards
Specific meaning and purpose in the programming language
Key words and reserved words
52
New cards
Perform various operations of data
Operators
53
New cards
Set of rules that must be strictly followed when writing a program
Syntax
54
New cards
Individual instructions written in a programming language
Statements
55
New cards
The statements written in a high-level language are called
source code
56
New cards
syntax error consists as
-Mispelled word
-Missing punctuation character
-Incorrect use of an operator
57
New cards
programs that translates a high-level language program into a separate machine language program
Compiler
58
New cards
program that both translates and executes the instructions in a high-level language program
Interpreter
59
New cards
Programs that make a computer useful for daily tasks
Application software
60
New cards
What are examples of application software??
-Microsoft word
-Email programs
-web browsers
61
New cards
The first step in programming is creating a ________
Flowchart or psedocode
62
New cards
After the executable is created, which specific error can occur??
Logic error
63
New cards
What happens if logic errors occur?
the program must become debugged
64
New cards
-A fake code or chart
-No syntax rules
-Can create in a word doc
pseudocode
65
New cards
A diagram that shows the codes step by step
Flowcharts
66
New cards
Use connectors to split in sections into multiple flowcharts and placing it side by side
Flowchart connector symbol
67
New cards
All code must be cleared of all
syntax errors
68
New cards
After the executable is created, it can be checked for
logic errors
69
New cards
If logic errors exist, the program must be
debugged
70
New cards
data that is designed that is generated and displayed
output
71
New cards
data that a program receives
input
72
New cards
storage locations in memory for data
Variables
73
New cards
Computer programs typically follow 3 steps.
1. Input is received
2. Some process is performed
3. Output is produced
74
New cards
Describes the input, processing, and output of a program.
IPO Chart
75
New cards
is the keyword to show output to the screen
Display
76
New cards
lines execute in the order they appear
Sequence
77
New cards
sequence of characters
String literals
78
New cards
keyword to take values from the user of the program
Input
79
New cards
includes a variable's name and a variable's data type
variable declaration
80
New cards
defines the type of data you intend to store in a variable
Data type
81
New cards
Which specific variable stores only whole numbers?
Integer
82
New cards
Which specific variable stores whole or decimal numbers?
Real
83
New cards
Which specific variable is any series of characters?
String
84
New cards
For safety and to avoid logic errors, variables should be _________ to 0 or some other value.
Initialized
85
New cards
Name that represents a value that cannot be changed
Named constant
86
New cards
simple debugguing process for locating hard to find errors in a program
hand tracing
87
New cards
Describes aspects of the program for the user, sometimes written by a technical writer.
External documentation
88
New cards
Explains how parts of program works for the programmer
Internal documentation/comments
89
New cards
Integers in the range of -32.368 to +32, 767
short
90
New cards
Integers in the range of -2,147,483,648 to +2,147,483,647
int
91
New cards
Integers in the range of –9,223,372,036,854,775,808 to +9,223,372,036,854,775,807
long
92
New cards
Floating-point numbers in the range of ±3.4 * 10-38 to ±3.4 * 1038, with 7 digits of accuracy
float
93
New cards
Floating-point numbers in the range of ±1.7 * 10-308 to ±1.7 * 10308, with 15 digits of accuracy
double
94
New cards
Strings of text
String
95
New cards
a group of statements that exists for the purpose of performing a specific task within a program
module
96
New cards
What are benefits of using modules
-Simpler code
-Code reuse
-Better testing
-Faster development
-Easier facillitaion of teamwork
-Easier maintenance
97
New cards
The code for a module is known as a module definition
Module showMessage()
Display "Hello world."
End Module
98
New cards
To execute the module, you write a statement that calls it.
Call showMessage()
99
New cards
What are the rules when creating a module?
No spaces in a module name.
No punctuation.
Cannot begin with a number.
100
New cards
What parts contain in a module?
-A header
The starting point of the module
- A body
Load more
Explore top notes
AP Physics C: Mechanics Ultimate Guide
Updated 765d ago
Note
Preview
Cell Signaling
Updated 1011d ago
Note
Preview
the protestant reformation and the enlightenment
Updated 765d ago
Note
Preview
Chapter 4: Forces and Newton's Laws of Motion
Updated 440d ago
Note
Preview
Contabilidad Financiera - 10. Propiedad, planta y equipo
Updated 121d ago
Note
Preview
Modern Russia
Updated 931d ago
Note
Preview
Morphology of Flowering Plants
Updated 585d ago
Note
Preview
Chapter 40 - The Resurgence of Conservatism
Updated 978d ago
Note
Preview
Explore top flashcards
8 SS
Updated 800d ago
Flashcards (28)
Preview
BIOL 251 - Ch. 15 Study Points
Updated 46d ago
Flashcards (55)
Preview
Cognition, Memory, and Language
Updated 491d ago
Flashcards (65)
Preview
General Chemistry II Final Exam
Updated 745d ago
Flashcards (155)
Preview
531 Lec 33
Updated 754d ago
Flashcards (39)
Preview
AP Gov AMENDMENTS
Updated 376d ago
Flashcards (27)
Preview
Psychology Unit 1: AOS1
Updated 740d ago
Flashcards (47)
Preview
AP Lang
Updated 82d ago
Flashcards (87)
Preview