Computer Science midterm

0.0(0)
studied byStudied by 0 people
0.0(0)
full-widthCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/43

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

44 Terms

1
New cards

Two digits that are used in computers when representing information

1 and 0

2
New cards

The total amount of numbers represented with 8 bits

256

3
New cards

The smallest number that can be made using four bits

16

4
New cards

Abstraction

Creating simplified representations of something more complex. Hides complexity

5
New cards

TCP

Internet protocol that is more important when reassembling and requesting missing packets

6
New cards

IP Address

Unique to every person, which help to give information to the right person

7
New cards

Interviewing users, and observing them as they attempt to use the app

Two most important steps when it comes to app design and development

8
New cards

Sequential programming

Program statements run in order, from top to bottom

9
New cards

event-driven progamming

Some program statements run when triggered by an event, like a mouse click or a key press

10
New cards

Quotations

Must be included to be read as a string

11
New cards

Comments - Helpfulness 1

Help debug issues within a code

12
New cards

Comments - Helpfuness 2

help document how code was written for other programmers

13
New cards

Comments - Helpfulness 3

enable programmers to track their work throughout the development process

14
New cards

1 var slice

2 var fuzz

3 slice = 12

4 fuzz = 25

5 = 300

6 = 500

7 console.log(fuzz)

500

15
New cards

1 var hey = 20;

2 hey = hey + 2;

3 hey = hey + 4;

4 hey = hey + 6;

5 console.log(hey)';

32

16
New cards

1 var hey = 20;

2 hey = hey + 2;

3 hey = hey + 4;

4 hey = hey + 6;

5 console.log(“hey”);

“hey”

17
New cards

Function benefits

Removes repeated lines

18
New cards

Function benefits 2

Help keep you organized

19
New cards

function benefits 3

Easier to update your code

20
New cards

Good time to use a function

When multiple lines of code are repeated

21
New cards

True && False

False

22
New cards

! True

False

23
New cards

False && True

False

24
New cards

False || False

False

25
New cards

True && True

True

26
New cards

False && False

False

27
New cards

! False

True

28
New cards

True || True

True

29
New cards

True || False

True

30
New cards

False || True

True

31
New cards

When using the &&, both must be __ for the boolean expression to evaluate as true

True

32
New cards

When using the ||, either must be __ for the boolean expression to evaluate as true

True

33
New cards

When using __, The results are the opposite of the Boolean value

!

34
New cards
<p>.</p>

.

Equality Operator

35
New cards
<p>.</p>

.

Inequality Operator

36
New cards
<p>.</p>

.

Greater than operator

37
New cards
<p>.</p>

.

Greater than or equal operator

38
New cards
<p>.</p>

.

Less than Operator

39
New cards
<p>.</p>

.

Less than or equal operator

40
New cards
<p>.</p>

.

OR Boolean Operator

41
New cards
<p>.</p>

.

AND Boolean Operator

42
New cards
<p>.</p>

.

NOT Boolean Operator

43
New cards
<p>When would you use this?</p>

When would you use this?

Used to assign a value to an already existing variable

44
New cards
<p>When should this be used?</p>

When should this be used?

Used to declare a variable