Computer Science A Unit 3

0.0(0)
studied byStudied by 7 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/8

flashcard set

Earn XP

Last updated 8:23 PM on 10/7/23
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

9 Terms

1
New cards

If statements

will only run and execute when a certain condition is true; and will ignore the code if the statement isn’t true

one-way selection

2
New cards

Flow of control

The order in which different lines of code will run

Typically each line of code runs from top to bottom

If statements can change the sequence

3
New cards

Two-way selection

if -else statement, meaning there are 2 watts that the code could run, the if or the else

4
New cards

Multi-way selection

If-else-if statement, which only runs one of the man y different listed conditions

5
New cards

Boolean expression

logical operations that check for multiple conditions at once

combines 2 separate Boolean expressions into a single compound Boolean expression

statement or condition that evaluates to true of false

6
New cards

Truth table

used to look at all possible values of the variables, and determine the value of the whole statement

7
New cards

Short-circuit evaluation

When the result of a logical expression using && or || can be determined by evaluating only the first Boolean expression, the second is not evaluated

8
New cards

Morgan’s first Law

If both A and B are true, them the whole expression is true

9
New cards

Morgan’s second Law

If some part of a || statement is true, then the whole expression is true

Explore top notes

note
Chains Vocab Pt.2
Updated 1135d ago
0.0(0)
note
The Integumentary System
Updated 1184d ago
0.0(0)
note
2.1a: Research methods
Updated 650d ago
0.0(0)
note
Chp 9: Relationship Maintenance
Updated 1154d ago
0.0(0)
note
CYL TRIMESTRE 1
Updated 857d ago
0.0(0)
note
Civics Unit 3
Updated 14d ago
0.0(0)
note
Chains Vocab Pt.2
Updated 1135d ago
0.0(0)
note
The Integumentary System
Updated 1184d ago
0.0(0)
note
2.1a: Research methods
Updated 650d ago
0.0(0)
note
Chp 9: Relationship Maintenance
Updated 1154d ago
0.0(0)
note
CYL TRIMESTRE 1
Updated 857d ago
0.0(0)
note
Civics Unit 3
Updated 14d ago
0.0(0)

Explore top flashcards

flashcards
H2-5 gebouwen gechiedenis
90
Updated 623d ago
0.0(0)
flashcards
Unit 3: Period 3: 1754 - 1800
52
Updated 1031d ago
0.0(0)
flashcards
cell yourself
44
Updated 664d ago
0.0(0)
flashcards
A&P: Senses
31
Updated 1078d ago
0.0(0)
flashcards
H2-5 gebouwen gechiedenis
90
Updated 623d ago
0.0(0)
flashcards
Unit 3: Period 3: 1754 - 1800
52
Updated 1031d ago
0.0(0)
flashcards
cell yourself
44
Updated 664d ago
0.0(0)
flashcards
A&P: Senses
31
Updated 1078d ago
0.0(0)