Python & ICT Flashcards

1
Q

You have to use the same number of spaces in a python block.

A

Cool!

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

What are four limitations of AI

A
  • Developing AI systems is expensive
  • Programming or training these systems is difficult
  • Lack of feelings, emotions or creativity in these systems
  • Dependency on machines increases as AI develops
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are expert systems?

A

Applications which include machines and programs that give explanation and advice to humans

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

What is the steps used for problem solving AI?

A
  • Defining a problem
  • Analysing it
  • Identifying solutions
  • Choosing a solution
  • Implementing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are tasks humans do on a routine basis without special training called?

A

Mundane tasks

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

What systems using AI can comprehend visual input?

A

Visual systems

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

What is an intelligent system?

A

It’s the science/engineering to make intelligent machines.

especially intelligent computer programs

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

What is speech recognition?

A

It’s AI capable of handling speech-related data

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

What is AI?

A

It is manmade thinking power/ Artificial intelligence

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

What are assignment operators?

A

They’re operators used to assign values to variables.

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

What are relational operators?

A

These are operators used to compare two values and return a True or False

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

What does the = operator mean?

A

It means it asigns a Variable Num to something.

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

What does +=, -=, *= and /= mean?

A

It means you take the value of the variable and run it through the math’s operator using the right number

according to the symbol of course

e.g Num+=5 would be the same as Num+5

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

What is the %= operator?

A

It displays the remainder after dividing the value

e.g Num%=5 would give the remainder of Num/5

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

What is //= operator?

A

It’s a division that rounds down to the nearest ‘floor’ number

e.g 7/2 = 3.5 but it’s floor number would be 3

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

What is the **= operator?

A

Raised to the power of whatever is on the right of the equals symbol

17
Q

What is the == operator?

A

It’s to ask if something is equal to a value

18
Q

What’s the difference between == operator and = operator?

A

== is a relational operator while = is an assignment operator.

19
Q

What does != operator mean?

A

It asks if something is not equal to a value

20
Q

What are logical operators?

A

They are used to combine a conditional statement and return True or False

21
Q

What is the ‘and’ operator?

A

It asks if two statements are both true

e.;g x>5 and x<=10 (T or F)

22
Q

What is the ‘or’ operator?

A

It asks if any of the conditions are true.

23
Q

What is the ‘not’ operator?

A

It reverses the result and returns false if the statement is true

24
Q

What are some features of python?

A
  1. Python source code is freely available
  2. It’s easy to learn*
  3. It supports GUI*

*Due to having few keywords and similar english like structure

*GUI = Graphical User Interface

25
Q

What does /n do?

A

It creates a new line

26
Q

What does IDLE stand for?

A

Integrated Development Learning Environment

27
Q

What are arithmetic operators?

A

They’re operators used to perform common arithmetic calculations

28
Q

What must an if statement end with?

A

It must end with a colon (:)

29
Q

What is used to exit a python shell?

A

Quit