4.2 Flashcards
programming is referred to as ____.
coding.
A _______ is a sequence of instructions executed by a computer.
Program.
______ is the natural language of electronic devices.
Binary code
an _______ is a bundled set of software tools for program development.
IDLE
T or F: .php is the extension of python.
false, .py
the binary code is……
1 and 0
the two states (1) and (0) in the binary code represent?
(1);on (0); off
computer programming languages are classified into two types which are?
high-level programming languages, and low-level programming languages.
what are the two main low-level programming languages?
Assembly language, and Machine language.
______ programming languages provide strong abstraction and have a simple and easy syntax.
high-level
java, pyhon, c++, ruby, pearl, basic, javascript are examples of which programming languages?
high-level programming languages
______ 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.
machine
________ programming language provide little or no abstraction, and have a very complex syntax.
low-level
T or F: high-level programming languages consist of numeric terms, while low-level programming languages provide syntax consisting of a complete alphanumeric syntax.
False, the opposite (high level and low level)
_______ language is a collection of mnemonic codes that specify the operations to be performed by the processor.
assembly
(compilers/interpreters) translates the entire program to a file (binary) and execute the whole file.
compilers
translators have the responsibility to convert your source code to ____________.
binary machine languages
we may refer to the binaries as ______ and programs as apps.
object code
___________ translate line by line and execute each line before going on to the next line. Python uses this translator.
interpreters
Python is used in some of the largest internet sites such as _______, _____, and ______.
reddit, dropbox, and youtube.
Name some applications of Python..
Desktop graphical application development, including games.
Mathmatical and scientific analysis of data.
Web and internet development.
________ is a raw text file, written on very simple editors such as the windows notepad.
source code
________ is a raw text file, written on very simple editors such as the windows notepad.
source code
what does the color orange in a code command?
a keyword
what does the color green in a code command?
a string
the color purple ina code means _______.
built in function
the color _____ means function definition or output.
blue
T or F: the color black in a code is for all other commands.
True
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.
input ()
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.
print()
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.
print()
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.
print()
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.
print()
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.
print()