A precise sequence of instructions for processes that can be executed by a
Algorithm
computer
A programming language with many commands and features designed to make
High Level Programming Language
common tasks easier to program.
A programming language that captures only the most primitive operations available
Low Level Programming Language
to a machine
Iterate To repeat in order to achieve, or get closer to a desired goal
A generic term for a type of programming statement that uses a Boolean condition
Selection
to determine or select whether or not to run a certain block of statements
A classic method for learning programming with commands to control movement
Turtle Programming
and drawings of an on screen robot
Abstraction A simplified version of something more complex
Problem solving approach in which you break down a system to gain insight into the
Top Down Design
sub systems that make it up
API A collection of commands made available to a programmer
Documentation A description of the behavior of a command , function, library, API, etc.
Function A named group of programming instructions
A base 16- number system that uses sixteen distinct symbols 0-9 and A-F to
Hexadecimal
represent from 0 to 15
Library A collection of commands/functions, typically with a shared purpose
Parameter An extra piece of information passed to a function to customize it for a specific need
Programming languages have some similarities and differences to the 'natural
Loop language you use in everyday speech. Select the two true statements about
programming languages:
1/6
, 10/14/24, 9:14 AM
Programming languages have some Guess
similarities and differences to the natural
language you use in everyday speech.
Select two true statements about
programming languages:
The robot is represented as a triangle, Image B
which is initially facing up, towards the top
of the grid. The robot is moved according
to the following instructions.
Which of the following images shows the
path and ending location of the robot that
will result from executing the code above.
The starting location of the robot is shown
as a dotted triangle for cases where the
robot does not start and end at the same
location.
Consider the following incorrect program, Line 3 and Line 4
which is intended to move the robot
around the perimeter of a grid, as indicated
by the drawing below. The starting position
and direction of the robot is indicated in
the diagram.
Given the options below, which lines
should be removed so the program will
work as intended?
Which of the following is NOT true about Functions cannot make calls to other functions within the same program.
functions in programming?
What is one important naming convention A function should be as descriptive as possible to indicate what the function does.
of functions?
Which of the following statements about Two functions in a single program can have different names but contain identical
functions is TRUE? code.
For this scenario related to turtle drawing, Function
indicate whether it is better to write a loop
or a function to handle the task:
Drawing out the letters of a word "HELLO"
?
For this scenario related to turtle drawing, Loop
indicate whether it is better to write a loop
or a function to handle the task:
Drawing a hexagon
For this scenario related to turtle drawing, Loop
indicate whether it is better to write a loop
or a function to handle the task:
Drawing 100 tiny dots in a line
2/6
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller Denyss. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $10.99. You're not tied to anything after your purchase.