(ACE FOR 2024/2025 EXAM REVIEW) Scripting and Programming Actual FINAL PREP- Foundations - C173, Questions and answers. Rated A+. EXAMSCORE!!
Scripting and Programming Actual FINAL PREP- Foundations - C173, Questions and answers. Rated A+. EXAMSCORE!! What is an editor? A program that allows you to write code What is a compiler? A program that produces other programs. The compiler does all the work at once and then runs the new program. We're translating the code we wrote to computer code all at once. This is often when we produce an .exe (executable) file. ^^What is an interpreter? runs a program's statements. A program that runs code one line at a time. Instead of converting all of the code at once it runs each line as it's needed. It interprets that specific line from your code to computer code. What is an operator and what does it do? An operator takes two operands (values) and does something with them. It is an object capable of manipulating a value. If it is a comparison or logical operator it would compare to see if they are similar or dissimilar. If it is a mathematical operator it would perform mathematical calculations. What is an expression? something that has a value. 2 What is the difference in a terminal and non-terminal expression? A terminal is a final value, while a non-terminal can be reduced further. What is proper Python grammar for making an expression? Expression → Expression Operator Expression The Expression non-terminal that appears on the left side can be replaced by an Expression, followed by an Operator, followed by another Expression. For example, 1 + 1 is an Expression Operator Expression. ^^ What is a variable? Simply put its a container for storing a value. Used by programs to refer to data. It is a named item, used to hold a value. A name that refers to a value. program can store that data in variables. Each variable has a name, a value, and a type. The value might change over time, and that's why its "variable." What are the three main types of data covered? How do you declare each one? string is a sequence of characters surrounded by quotes, either single or double example: myVar = "string data" ^^ Integers Is a whole number value. No decimals, whole numbers only examp
Written for
Document information
- Uploaded on
- November 2, 2023
- Number of pages
- 39
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
scripting and programming actual final prep foun
Also available in package deal