Study sets matching "cs chapter 5"

Study sets
Classes
Users

Study sets matching "cs chapter 5"

Computer Science Chapter 5
Null reference
NullPointerException
Object reference variable
null
when a reference variable is first declared as an instance va…
tells us there is no object to reference.
stores the address of an object
reserved word in java that represents a reference that does n…
Null reference
when a reference variable is first declared as an instance va…
NullPointerException
tells us there is no object to reference.
47 terms
Computer Science Chapter 5
Cursor
Spreadsheet Application
Presentation App
Data
Vertical blinking line to indicate where text will appear
App for representing tables of data to calculate data and cre…
Creates slideshows of text and graphics with animation
Collection of facts and values
Cursor
Vertical blinking line to indicate where text will appear
Spreadsheet Application
App for representing tables of data to calculate data and cre…
18 terms
Computer Science Chapter 5
If statements
==
!=
Null
Allows a program to carry out different actions depending on…
Tests for equality 5 == 7-2
Not equal
Refers to no object
If statements
Allows a program to carry out different actions depending on…
==
Tests for equality 5 == 7-2
20 terms
Computer Science chapter 5
function definition:
function object:
header:
body:
A statement that creates a new function, specifying its name,…
A value created by a function definition. The name of the fun…
The first line of a function definition.
The sequence of statements inside a function definition.
function definition:
A statement that creates a new function, specifying its name,…
function object:
A value created by a function definition. The name of the fun…
Computer Science Chapter 5
Branching
relational operators
equality operators
Boolean
Directs a program to execute either one group of statements o…
a < b a is less-than b... a > b a is greater-than b... a <= b a is…
a == b a is equal to b... a != b a is not-equal to b
True or False (yes they must be capitalized)
Branching
Directs a program to execute either one group of statements o…
relational operators
a < b a is less-than b... a > b a is greater-than b... a <= b a is…
Computer Science Chapter 5
increment
decrement
prefix mode
postfix mode
To __ a value means to increase it by one
To __ a value a value means to decrease it by one
The increment or decrement operator is placed before the oper…
The increment or decrement operator is place after the operan…
increment
To __ a value means to increase it by one
decrement
To __ a value a value means to decrease it by one
47 terms
Computer Science Chapter 5
Central Processing Unit
Arithmetic logic unit, control unit, r…
Arithmetic logic unit
Shift operations
Performs operations om data
3 parts of a CPU
Performs logic, shift and arithmetic operations on data
Two groups of ________. Logical and logical arithmetic.
Central Processing Unit
Performs operations om data
Arithmetic logic unit, control unit, r…
3 parts of a CPU
28 terms
Computer Science: Chapter 5
A type of specialty processor devoted…
In most personal computer systems, the…
With these systems, input and output d…
The processing speed of a microprocess…
Cryptoprocessor
microprocessor
Desktop systems
clock speed
A type of specialty processor devoted…
Cryptoprocessor
In most personal computer systems, the…
microprocessor
computer science chapter 5
app bars
application programming interface
application software
authentication
bars that float above the screen and that contain application…
a set of software routines that allows one software system to…
the set of programs on a computer that helps a user carry out…
the process of identifying a computer user, based on a login…
app bars
bars that float above the screen and that contain application…
application programming interface
a set of software routines that allows one software system to…
12 terms
Ap Computer Science Chapter 5
null reference
this reference
aliases
static modifier
A reference variable that does not point to an object
is a reserved word that lets an object refer to itself
when two objects both point to the same object and have diffe…
it associates a variable or method with its class rather than…
null reference
A reference variable that does not point to an object
this reference
is a reserved word that lets an object refer to itself
Computer Science SL: Chapter 5 Vocab
Pseudocode
Flowchart
Sequence Structure
Decision Structure
A tool that helps programmers plan a program's logic by writi…
A tool that helps programmers plan a program's logic by writi…
A logical structure in which one step follows another uncondi…
A logical structure that involves choosing between alternativ…
Pseudocode
A tool that helps programmers plan a program's logic by writi…
Flowchart
A tool that helps programmers plan a program's logic by writi…
9 terms
Computer Science Chapter 5
A static variable is _______________ o…
When an object is passed to a method
An interface is a collection of
implementing an interface
shared among all instances
the actual and formal parameters become aliases of each other.
Abstract methods
public class className implements interfaceName
A static variable is _______________ o…
shared among all instances
When an object is passed to a method
the actual and formal parameters become aliases of each other.
Chapter 5 Computer Science
if (1 + x > Math.pow(x, Math.sqrt(2))…
if (x = 1) y++; else if (x = 2) y = y…
int x = Integer.parseInt(input);... if (x…
language = "English";... if (country.equa…
Unbalanced parantheses around condition
use (x == 1) and (x == 2) instead
The integer value x can never be null.
The indentation levels give the wrong impression: the else ac…
if (1 + x > Math.pow(x, Math.sqrt(2))…
Unbalanced parantheses around condition
if (x = 1) y++; else if (x = 2) y = y…
use (x == 1) and (x == 2) instead
23 terms
computer science chapter 5
content aggregator
wiki
blog
social networking
website that gathers, organizes and then distributes web cont…
a collaborative web site where groups can modify content on a…
a web page listing journal entries that provide commentary an…
a form of social media that lets you share idea, opinions, ph…
content aggregator
website that gathers, organizes and then distributes web cont…
wiki
a collaborative web site where groups can modify content on a…
23 terms
Computer Science Chapter 5
d
b
a
b
Some Web pages are "invisible." That is, no search engine wil…
When picking additional sources you should choose... A. sources…
Google usually ignores numbers. What symbol could you add to…
Enclosing search terms in quotes asks for pages with... A. the…
d
Some Web pages are "invisible." That is, no search engine wil…
b
When picking additional sources you should choose... A. sources…
16 terms
Computer Science chapter 5
Software Development
object-oriented program
program specification
program design
writing a program
uses interacting objects
Description of a task
a written plan, an overview of the solution
Software Development
writing a program
object-oriented program
uses interacting objects
Computer Science Chapter 5
Addressability
Arithmetic/logic unit (ALU)
Register
Input unit
The number of bit stored in each addressable location in memory
The computer component that performs operations (addition, su…
A small storage area in the CPU used to store intermediate va…
A device that accepts data to be stored in memory
Addressability
The number of bit stored in each addressable location in memory
Arithmetic/logic unit (ALU)
The computer component that performs operations (addition, su…
Chapter 5 Computer Science
System Unit
Desktops
Laptops
Tablets
is also referred to as the system chassis ; All computers hav…
contains electronic components and selected secondary storage…
contains electronic components, secondary devices, and input…
or tablet computer - flat screen and typically do not have a…
System Unit
is also referred to as the system chassis ; All computers hav…
Desktops
contains electronic components and selected secondary storage…
Computer Science Chapter 5
increment
decrement
prefix mode
postfix mode
To __ a value means to increase it by one
To __ a value a value means to decrease it by one
The increment or decrement operator is placed before the oper…
The increment or decrement operator is place after the operan…
increment
To __ a value means to increase it by one
decrement
To __ a value a value means to decrease it by one
51 terms
Computer Science Chapter 5
Loop
Loop Body
Ask Yourself 3 Questions
Counting Loop
a Control Structure that repeats a group of steps in a program
the statements that are repeated in a loop
Any Steps Repeated NO No Loop Needed ... Yes... Know In Advance h…
When Used - We can determine before loop execution exactly ho…
Loop
a Control Structure that repeats a group of steps in a program
Loop Body
the statements that are repeated in a loop
Computer Science Chapter 5
Components similarities
Keep your computer cool
System board
Circuit board components
System board, microprocessor, memory
Computer components generate heat, can damage your system, no…
Main board or motherboard, controls communications by connect…
Sockets, slots, bus lines
Components similarities
System board, microprocessor, memory
Keep your computer cool
Computer components generate heat, can damage your system, no…
Chapter 5 Computer Science
increment
decrement
prefix mode
postfix mode
To __ a value means to increase it by one
To __ a value a value means to decrease it by one
The increment or decrement operator is placed before the oper…
The increment or decrement operator is place after the operan…
increment
To __ a value means to increase it by one
decrement
To __ a value a value means to decrease it by one
Chapter 5 Computer Science
Values Boolean Stores
Boolean Value Operators
!
&&
True (1), false (0).
!, &&, ||
Unary operator.... Boolean expression!, and result is the opposi…
Binary operator.... Resulting Boolean is true if both operands a…
Values Boolean Stores
True (1), false (0).
Boolean Value Operators
!, &&, ||
8 terms
AP Computer Science Chapter 5
Pseudorandom Numbers
Priming a Loop
Sentinel
Short-Circuited Evaluation
Numbers that, although they are derived from predictable and…
Initializing variables before a loop to "prime the pump" and…
A special value that signals the end of input.
The Property of the logical operators && and || that prevents…
Pseudorandom Numbers
Numbers that, although they are derived from predictable and…
Priming a Loop
Initializing variables before a loop to "prime the pump" and…
22 terms
Computer Science Chapter 5
Nano
Pico
Mico
Milli
B. 10^-9
A. 10^-12
C. 10^-6
D. 10^-3
Nano
B. 10^-9
Pico
A. 10^-12
Computer Science: Chapter 5 - Databases
Database
Entity
Table
Field
A collection of related data stored in such a way that it is…
An object with characteristics that define it. (Military pers…
Represents an entity with distinct instances of the entity as…
Building block up the table. Fields appear as columns of the…
Database
A collection of related data stored in such a way that it is…
Entity
An object with characteristics that define it. (Military pers…
Computer Science Chapter 5
multimedia
codecs
lossy compression
lossless compression
an application that involves two or more media, such as audio…
short for compression/decompression standard; standard for co…
in data compression, a method of reducing the size of multime…
in data compression, a method used to reduce the size of a fi…
multimedia
an application that involves two or more media, such as audio…
codecs
short for compression/decompression standard; standard for co…
25 terms
Computer Science Chapter 5
How do you call a class method?
How do you call an object method?
What has to be done first before you c…
Write a program statement that constru…
class-name.method
object-name.method
an object must be created
Bank joe = new Bank(5000.0,10000.0);
How do you call a class method?
class-name.method
How do you call an object method?
object-name.method
42 terms
Chapter 5 Computer Science Review
What does program flow follow?
What are the 3 general types of contro…
What are 2 synonyms for Selection? Wha…
Selection control structures use a spe…
follows the exact sequence of listed program... statements, unle…
simple sequence, selection, and repetition
Synonyms-conditional branching or decision making... Types- one-…
conditional
What does program flow follow?
follows the exact sequence of listed program... statements, unle…
What are the 3 general types of contro…
simple sequence, selection, and repetition
21 terms
Computer science : chapter 5. Algorithms
Algorithm
Primitive
Programming language
Pseudocode
An ordered set of unambiguous comma executable steps that def…
A well-defined set of building blocks from which algorithm re…
A collection of Primitives along with a collection of rules s…
A notational system in which ideas can be expressed informall…
Algorithm
An ordered set of unambiguous comma executable steps that def…
Primitive
A well-defined set of building blocks from which algorithm re…
35 terms
Computer Science Chapter 5
Most information available at the libr…
Is a collection of computer programs t…
A program that navigates the internet,…
As the query processor is putting toge…
True
search engine
crawler
False; highest to lowest
Most information available at the libr…
True
Is a collection of computer programs t…
search engine
9 terms
Computer science chapter 5
What are the two basic parts of a sear…
What is a crawler
What is a query processor
What are characteristics of legitimate…
Crawler... Query processor
Constantly runs, visits sites on the Internet, discovering we…
Looks up user-submitted keywords in the index and reports bac…
Physical existence ... Expertise... Clarity... Currency... Professionalism
What are the two basic parts of a sear…
Crawler... Query processor
What is a crawler
Constantly runs, visits sites on the Internet, discovering we…
25 terms
OCR AS Computer Science Component 1 Chapter 5 Software Development
Why software may be needed
Stakeholders
Role of the systems analyst
The stages of the software development…
Reasons why new software may be needed.
Who the stakeholders of the system are.
The role of the systems analyst.
Problem definition - The formal description of the problem to…
Why software may be needed
Reasons why new software may be needed.
Stakeholders
Who the stakeholders of the system are.
18 terms
Computer Science chapter 5
lets a program carry out different act…
What type of statement is this?... balanc…
What type of statement is this?... if ( b…
multiple statements in if without bloc…
if statement
simple statement
compound statement
else without if
lets a program carry out different act…
if statement
What type of statement is this?... balanc…
simple statement
Computer Science Chapter 5
True or False Windows 8 is an example…
True or False Most operating systems t…
True or False Mobile devices, such as…
True or False File Explorer is an oper…
True
False
True
False
True or False Windows 8 is an example…
True
True or False Most operating systems t…
False
Computer Science Chapter 5
enterString
Why is a prompt necessary for input?
What does enterString method do?
What does "the 2 strings were concaten…
expo class method to enter someone's name
Without prompt the program user has no clue what is happening…
enters an entire string of characters from the keyboard until…
the 2 strings were joined together
enterString
expo class method to enter someone's name
Why is a prompt necessary for input?
Without prompt the program user has no clue what is happening…
14 terms
Chapter 5 Vocabulary Computer Science
Accessor
API (application program interface)
Aspect ratio
Default constructor
A method used to examine an attribute of an object without ch…
is a set of routines, protocols, and tools for building softw…
The ratio of the width of an image or viewing area to its hei…
A method that Java provides for creating objects of a class.…
Accessor
A method used to examine an attribute of an object without ch…
API (application program interface)
is a set of routines, protocols, and tools for building softw…
AP Computer Science Chapter 5
Branch
Break Keyword
Continue Keyword
do...while loop
A programming structure in which decisions are made based on…
used to terminate a for, while, or do-while loop
used to re-execute a for, while, or do-while loop
A loop whose semantics dictate "take this action, while this…
Branch
A programming structure in which decisions are made based on…
Break Keyword
used to terminate a for, while, or do-while loop
Computer Science chapter 5
Memory
Arithmetic / Logic Unit
Input Devices
Output
a collection of cells, each with a unique physical address
performs basic arithmetic operations such as subtraction and…
A device through which data and programs from the outside wor…
A device through which results stored in the... computer memory…
Memory
a collection of cells, each with a unique physical address
Arithmetic / Logic Unit
performs basic arithmetic operations such as subtraction and…
Computer Science Chapter 5
Keyboard
Terminal
Dumb Terminals
Intelligent Terminals
devices that convert letters, numbers and other characters in…
Has display screen and keyboard that can input and output dat…
has everything but CANNOT process data
has own memory and processor and display screen and keyboard
Keyboard
devices that convert letters, numbers and other characters in…
Terminal
Has display screen and keyboard that can input and output dat…
23 terms
chapter 5 computer science
Addressability
Arithmetic/logic unit (ALU)
Register
Input unit
The number of bits stored in each addressable location in mem…
The computer component that performs arithmetic operations (a…
A small storage area in the CPU used to store intermediate va…
A device that accepts data to be stored in memory
Addressability
The number of bits stored in each addressable location in mem…
Arithmetic/logic unit (ALU)
The computer component that performs arithmetic operations (a…
Computer Science Chapter 5
LDM #n
LDD <address>
LDI <address>
LDX <address>
Immediate addressing. Load the number n to ACC.
Direct addressing. Load the contents of the location at the g…
Indirect addressing. The address to be used is at the given a…
Indexed addressing. Form the address from <address> + the con…
LDM #n
Immediate addressing. Load the number n to ACC.
LDD <address>
Direct addressing. Load the contents of the location at the g…
22 terms
Computer Science Chapter 5 Vocabulary
Network
Bandwidth
Client
LAN
Is a collection of computing devices connected in order to co…
is the speed with which data is moved from one place to anoth…
makes a request to the server which then gives a response
is a network that connects a relatively small number of machi…
Network
Is a collection of computing devices connected in order to co…
Bandwidth
is the speed with which data is moved from one place to anoth…
42 terms
Computer Science Chapter 5 Vocabulary
for loop
variable
program
range
used when we want to repeat a set of commands a certain numbe…
a name that stores a value; rules: the name cannot start with…
a set of commands that run in order from top to bottom
tells us the number of times the loop runs
for loop
used when we want to repeat a set of commands a certain numbe…
variable
a name that stores a value; rules: the name cannot start with…
14 terms
Computer Science: Chapter 5 Vocabulary
Accessors
Application Programming Interface (API)
Aspect Ratio
Default Constructor
a method used to examine an attribute of an object without ch…
the set of interfaces in a package or an entire language
the ratio of the width of an image or viewing area to its hei…
a method that java provides for creating object of one class…
Accessors
a method used to examine an attribute of an object without ch…
Application Programming Interface (API)
the set of interfaces in a package or an entire language
Computer Science Illuminated Chapter 5
ALU
Bus
CPU
RAM vs. ROM
performs basic calculations, addition and subtraction
flow of information on wires
includes control unit and ALU
Ram is editable, Rom cannot be changed, just viewed
ALU
performs basic calculations, addition and subtraction
Bus
flow of information on wires
29 terms
Computer Science Chapter 5 & 6
S- HTTP
top level domain
scripting
HTTP
technology used to encrypt data and help consumers and busine…
the letters following the dot in a domain name when you visit…
writing or using small programs that enhance the web experien…
a communication protocol that transports data over the web
S- HTTP
technology used to encrypt data and help consumers and busine…
top level domain
the letters following the dot in a domain name when you visit…
AP Computer Science Chapter 5
How do you mark comments in programming
How do you make a block comment
Javadoc comments
Reserved Words
//
/**... **/
precede a method, class or a field.... Used by the JDK's specia…
Words that are reserved for a special purpose; lowercase; abo…
How do you mark comments in programming
//
How do you make a block comment
/**... **/
36 terms
Chapter 5 & 6 Computer Science Vocabulary
Real time operating systems
Networks, Servers, and Mainframes Oper…
Personal Computers Operating Systems
User Interface
Machinery that repeats a repetitive series of specific tasks…
Enables more than one user to access the computer system at a…
Windows, Mac OS, and Linux (Top 3 for multitasking)
Enables users to interact with the computer
Real time operating systems
Machinery that repeats a repetitive series of specific tasks…
Networks, Servers, and Mainframes Oper…
Enables more than one user to access the computer system at a…
15 terms
AP Computer Science Vocab- Chapter 5
Big Data
Machine Learning
encryption
decryption
Big data is a broad term for data sets so large or complex th…
a subfield of computer science that evolved from the study of…
a process of encoding messages to keep them secret so that on…
a process that reverses encryption, taking a secret message a…
Big Data
Big data is a broad term for data sets so large or complex th…
Machine Learning
a subfield of computer science that evolved from the study of…
1 of 10