4.2 Flashcards

1
Q

programming is referred to as ____.

A

coding.

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

A _______ is a sequence of instructions executed by a computer.

A

Program.

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

______ is the natural language of electronic devices.

A

Binary code

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

an _______ is a bundled set of software tools for program development.

A

IDLE

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

T or F: .php is the extension of python.

A

false, .py

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

the binary code is……

A

1 and 0

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

the two states (1) and (0) in the binary code represent?

A

(1);on (0); off

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

computer programming languages are classified into two types which are?

A

high-level programming languages, and low-level programming languages.

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

what are the two main low-level programming languages?

A

Assembly language, and Machine language.

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

______ programming languages provide strong abstraction and have a simple and easy syntax.

A

high-level

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

java, pyhon, c++, ruby, pearl, basic, javascript are examples of which programming languages?

A

high-level programming languages

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

______ language is a collection of binary digits (0’s and 1’s) that the computer reads and interprets. it is a language a computer is capable of understanding.

A

machine

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

________ programming language provide little or no abstraction, and have a very complex syntax.

A

low-level

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

T or F: high-level programming languages consist of numeric terms, while low-level programming languages provide syntax consisting of a complete alphanumeric syntax.

A

False, the opposite (high level and low level)

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

_______ language is a collection of mnemonic codes that specify the operations to be performed by the processor.

A

assembly

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

(compilers/interpreters) translates the entire program to a file (binary) and execute the whole file.

A

compilers

17
Q

translators have the responsibility to convert your source code to ____________.

A

binary machine languages

18
Q

we may refer to the binaries as ______ and programs as apps.

A

object code

19
Q

___________ translate line by line and execute each line before going on to the next line. Python uses this translator.

A

interpreters

20
Q

Python is used in some of the largest internet sites such as _______, _____, and ______.

A

reddit, dropbox, and youtube.

21
Q

Name some applications of Python..

A

Desktop graphical application development, including games.
Mathmatical and scientific analysis of data.
Web and internet development.

22
Q

________ is a raw text file, written on very simple editors such as the windows notepad.

A

source code

22
Q

________ is a raw text file, written on very simple editors such as the windows notepad.

A

source code

23
Q

what does the color orange in a code command?

A

a keyword

24
Q

what does the color green in a code command?

A

a string

25
Q

the color purple ina code means _______.

A

built in function

26
Q

the color _____ means function definition or output.

A

blue

27
Q

T or F: the color black in a code is for all other commands.

A

True

28
Q

the _______ function prompts message to a user regarding the program input. it lets a user to provide input to the program through an input device such as keyboard.

A

input ()

29
Q

the ______ function is a built-in function used to print the given string as an output i.e. it prints the specified message to the screen.

A

print()

29
Q

the ______ function is a built-in function used to print the given string as an output i.e. it prints the specified message to the screen.

A

print()

29
Q

the ______ function is a built-in function used to print the given string as an output i.e. it prints the specified message to the screen.

A

print()

29
Q

the ______ function is a built-in function used to print the given string as an output i.e. it prints the specified message to the screen.

A

print()

29
Q

the ______ function is a built-in function used to print the given string as an output i.e. it prints the specified message to the screen.

A

print()