2.0 Computational thinking, algorithms and programming Flashcards

1
Q

Symbol for AND :

A

Semicircle

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

Symbol for OR :

A

Inverted moon

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

Symbol for NOT :

A

Triangle + circle

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

What are the types of data checks?

A

Range
Type
Format
Length
Presence

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

Why should a program be maintainable?

A

Prevent + fix bugs
Add new features
Easier reading

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

How can a program be made more maintainable?

A

Naming conventions
Indentations
Comments
Subroutines

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

What is the difference between a procedure and function?

A

Function returns value
Procedure does not

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

What are the types of data inputs?

A

Invalid
Erroneous
Valid
Boundary

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

What are the two types of testing?

A

Terminal
Iterative

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

Advantages of high level languages :

A

English resemblance
Machine independence

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

Advantages of low level languages :

A

Less storage
Direct hardware control
No translation

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

What is casting?

A

Temporarily changing data types

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

What is a compilier?

A

Translates entire code

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

What is an interpreter?

A

Translates line by line

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