8 Programming Flashcards

1
Q

What is the name for the UI of a program language

A

Integrated Developement Eviroment - IDE

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

What is the acronym for Python Integrated Developement Enviroment

A

IDLE

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

What is the name of the Window in which Python will show a result after running a program

A

Python Shell

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

Why do programers use algorithms?

A

Programers use algorithms to plan the program

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

Algorythm types adn their advantages and disadvantages

A

Flowchart - easier to be understood by a non profesional person. Disadvantage you need to use a graphical program
Pseudocode - easier to write pseduocode and easier transform into code. You don’t need a graphic program

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

What types of functions do you know

A

Predefined functions

User defined functions

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

How do you print a blank line in Python

A

print(“\n”)

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

What is a sequence

A

is the order in which the program lines are executed

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

How do you call a variable that stores a number with decimals?

A

A real or float number.

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

Which data type is not supported by python?

A

Char - it stores one character only.

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

What type of data inputs the “input” command? Does it need any modifications for calculations if yes how?

A

Data type is string and needs to be transformed with int() or float() to do calculations.

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

What is the code in pseudo-code for inputing, assigning a value and for output?

A

READ

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

Flowchart boxes for:

  • start/end
  • input
  • Assign or calculate value
  • Decision
A
  • start/end: Rounded rectangle
  • input: parallelogram
  • Assign or calculate value: rectangle
  • Rombus
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Logical test operator for not equal and equal.(FLOWCHART)

A

<>

=

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

If operator for equal and not equal.

A

==

!=

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

What does colon ( : ) mean in python?

A

The next lineis indented.

17
Q

If statement written ins pseudo-code?

A

IF THEN ELSE ENDIF

18
Q

Loop types.

A

Counter controlled loop

condition controlled loop