Introduction to Computer Programming (Exam 1)-Questions and Answers Graded A+
Introduction to Computer Programming (Exam 1)-Questions and Answers Graded A+ Algorithms - ANSWER-A series of well-defined, logical steps that must be taken in order to perform a task. They serve as a necessary intermediate step between understanding the task at hand and translating it into computer code. Sources of input - ANSWER-User (keyboard, mouse, etc.), hardware (scanner, camera, etc.), data (file, the Internet, etc.) Pocessing - ANSWER-A series of mathematical or logical processes that are applied to the input Output - ANSWER-Some kind of tangible/visible/readable product is constructed (screen display, printout, 3D fabrication) IDLE - ANSWER-Integrated DeveLopment Environment; has two modes IDLE: Interactive mode - ANSWER-commands are immediately processed as they are received IDLE: Script mode - ANSWER-allows programmer to write a program (saved as a "Text file" on your computer) and then your commands can be processed whenever you like Function - ANSWER-1. a pre-written piece of computer code that will perform a specific action or set of actions. 2. Python comes with many built-in functions and you can also write your own. 3. Functions always begin with a keyword followed by a series of PARENTHESIS 4. You can pass one or more arguments into a function by placing data inside the parenthesis. Different functions expect different numbers of arguments and different argument types 5. "Calling" a function means that you ask Python to run a function Strings - ANSWER-1. Data that is textual in nature 2. Can contain 0 or more printed characters String literals - ANSWER-1. strings that you define inside of your program
Written for
- Institution
- Computer programming
- Course
- Computer programming
Document information
- Uploaded on
- April 15, 2024
- Number of pages
- 97
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- programming language
- data
- hardware
- software
- interactive system
- virus
- zombie
-
named constant
-
metalanguage
-
runtime engine
-
compute
-
introduction to computer programming exam 1
-
nesting data type conversions
Also available in package deal