Computing Study Flashcards

(25 cards)

1
Q

Comments

A

Anything on line after a # is considered as a comment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

identifiers

A

Any sequence of letter, digits and underscores , starting with a letter
Both uppercase and lowercase are case are supported

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

(ALU)

A

Arithmetic logic unit

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Integer

A

A hole number

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Data type

A

A set of possible values

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

String

A

Words or Text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Common Arithmetic Operators

A

+=addition, -=subtraction, *=multiplication,/=division,**=squared,//=div, %=mod

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Bool Operators

A

And ,or, not

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to loop

A

for in range

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Common comparison operators

A

Equals to == , not equals to !=,less than <,more than >,less than or equals to <=,more than or equals to >=

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

inputs and outputs

A

Print and input

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Selection

A

if/elis/else
if statement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Subprograms

A

Function, procedures, parameters

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Values

A

Variable, constants , assignment

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Types of data types

A

String, integer, char, boolean , float ,casting

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Data structure

A

list/array, indexes

17
Q

String formats

A

width, precision, type alignment

18
Q

Programing construct

A

-literation
-loops
-for
.count controlled
.fixed number of times
-while
.condition controlled
.indeterminate number of times

19
Q

number [] = ?

20
Q

Float=?

A

Fractional number

21
Q

Boolean=?

A

Logical true or false

22
Q

Character=?

A

a string with a length of 1

23
Q

Array=?

A

A linear data structure

24
Q

Subprogram=?

A

A block of code give a unique identifiable name within a program

25
Benefits of a subprogram
-easier to code -easier to debug ease of refuse