Introduction to Programming TEST Q&A
Introduction to Programming TEST Q&A arrowhead - ANSWER: Python turtle simply looks like a what? Bug - ANSWER: An error in a computer program. Computer Programmer - ANSWER: A person whose career involves programming using formal languages like Java, C#, or Python. Coordinates - ANSWER: Points on the x-axis and y-axis of the drawing window "grid." For an illustration, run the sample Coordinates program. The center of the drawing window is 0,0. Debug - ANSWER: To find and fix errors in a computer program. done( ) - ANSWER: Ends the program and waits for the drawing window to be closed. If you leave out this statement, the drawing window will not close properly. Drawing pen, or turtle. - ANSWER: Drawing pen, or turtle. Python Turtle Graphics draws on a window using a __________ ______, or ___________ If your program runs without errors, you can be sure the results will be what you expected. - ANSWER: False. If a program runs from start to finish, you can be sure it doesn't have any SYNTAX errors, but it might have what are called semantic errors. When you get those errors, your program is doing what you told it to do- but maybe not what you intended for it to do. Programming language - ANSWER: A formal language designed to control the behavior of a computer. Python - ANSWER: An easy-to-learn, general purpose, high level scripting language. setup( ) - ANSWER: Create a drawing window. This function must occur before any of the drawing or motion functions are called. The initial position of the turtle after set is complete is 0,0.
Document information
- Uploaded on
- June 21, 2024
- Number of pages
- 4
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers