Podcast
Questions and Answers
What is the symbol used for modular division?
What is the symbol used for modular division?
- #
- &
- % (correct)
- @
What is a function?
What is a function?
- A collection of commands given a name (correct)
- A program that converts commands so that a computer can understand and execute them
- A name for a space in the computer’s memory for something we’re storing
- An input device used to enter information into the computer
What does the Str() function do?
What does the Str() function do?
- Handles a value as a string (correct)
- Translates strings to integer numbers
- Adds two strings together
- Returns a randomly selected element from the specified sequence
What is the purpose of a compiler?
What is the purpose of a compiler?
What is a Digital Audio Workstation?
What is a Digital Audio Workstation?
Flashcards are hidden until you start studying
Study Notes
- IDEs are software programs that combine multiple tools in one window.
- Binary code is a system of representing information using only two symbols, typically 0 and 1.
- Input is information we are putting into the computer. Every time you click on a bottom or touch your screen or type something on the keyboard - you are entering input into the computer.
- Output is the process of using the print() command in order to present information to the user.
- Variable is a name for a space in the computer’s memory for something we’re storing.
- Assignment operator is “=” allows us to assign values to variables. What is to the right of the equal sign will be assigned to what is left of the equal sign.
- Start measure is when your song will begin to play on EarSketch.
- Str() function tells Python to handle a value as a string, not as a number.
- Int() function translates strings to integer numbers.
- Function is a collection of commands given a name.
- Concatenate adds two strings together represented by the symbol “+”.
- Modular division gives the remainder of an integer division problem.
- Syntax is the rules that define the written structure of a programming language.
- Digital Audio Workstation is the place where your song will appear after running your code.
- Computer Science is the study of the principles and use of computers.
- Coding is using a formal language in order to create software.
- Import pulls in modules to add functions to your code.
- Module is a collection of code and functions that perform similar tasks.
- Random is a module used to create random numbers in programs. Numbers are from a sequence based on that seed value.
- random(): Random float greater than 0.0 and less than 1.0.
- choice(): Returns a randomly selected element from the specified sequence.
- Typecast converts the value of one data type to another data type.
- Compiler is a program that converts commands so that a computer can understand and execute them.
- Float is a number (positive or negative) that includes the decimal portion of the number.
- Integer is a whole number (positive or negative)
- String is made up of letters, numbers, and/or symbols. Not used for calculations.
- Modulo operator is represented with the % symbol, and means that we should perform modular division.
- Escape sequence is all of our escape sequences are marked with a backslash - the escape character. Special characters marked with the \ \n – new line \t – tab " – prints a quote ' – prints a single quote \ – prints a slash
- Comment is notes in computer code for the programmer -- the
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.