Introduction to programming Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

Why do we need programming?

A

They are the instructions to computers to get them to function

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

What type of machines are computers

A

Computers are deterministic machines

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

What does deterministic mean?

A

They cannot guess and can only perform instructions as they are told

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

Give 6 examples of programming languages?

A

Python, Java, c++, c# , Javascript and Lua

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

What is python written using?

A

It is written using a development environment like IDLE or PyCharm

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

What is the syntax of Python?

A

It uses a special set of keywords, symbols and punctuation marks

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

What are the symbols for equations in Python?

A

+ Addition
- Subtraction
/ Division
* Multiplication
% Modulus (Remainder after division)
// Integer division (Divide and round)
** Exponentation (To the power of)

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