intro to phyton Flashcards

1
Q

uses of python

A

web development
software development
mathematics
system scripting

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

what is IDE

A

Integrated Development Environment

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

IDE allows activities of writing software such as

A

editing source code, building executables and debugging to be completed in a single application

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

examples of IDE

A

onlinegdb
PyCharm

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

common errors in programming

A
  1. syntax errors
  2. runtime errors
  3. logic errors
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

explain syntax errors

A

syntax refers to structure of a program and rules about that structure

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

explain runtime errors

A

show when you ‘ run ’
also called exceptions because it usually indicate that
something exceptional and bad happened

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

possible runtime error

A

division by zero

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

explain logic errors

A

code will run successfully
but it will not do the right thing
it will do what you told it to do

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

how to identify logic errors

A

trace work step by step

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