• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 97 pages
Exam (elaborations)

Introduction to Computer Programming (Exam 1)-Questions and Answers Graded A+

Document preview thumbnail
Preview 4 out of 97 pages

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


Document information

Uploaded on
April 15, 2024
Number of pages
97
Written in
2023/2024
Type
Exam (elaborations)
Contains
Questions & answers
$9.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
386
Last sold
-




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions

Whoops! We can’t load your doc right now. Try again or contact support.