Introduction to Programming
- 59Unfamiliar
- 0Learning
- 0Familiar
- 0Mastered
- spaceFlip card
- KI knew it
- DI didn't know it
- ←Previous card
- →Next card
What makes computers different from most traditional machines?
Computers can be given instructions to perform many different types of tasks, rather than being designed for only one fixed task.
Or swipe the card
59 cards
What makes computers different from most traditional machines?
Computers can be given instructions to perform many different types of tasks, rather than being designed for only one fixed task.
Why might a computer be installed in a device that has only one primary purpose?
Using a computer may be simpler than building a complicated electronic or electromechanical system to control the device.
What is programming?
Programming is the act of creating a set of instructions that gives a computer new functionality or enables it to perform a task.
What is a program?
A program is a set of instructions that a computer can follow to accomplish a task.
What is software?
Software is a broad term for programs and other sets of computer instructions.
What is an operating system?
An operating system is software consisting of instructions that allow users to interact with and operate a computer.
How can installing an application change a computer?
Installing an application gives the computer new functionality by adding instructions for performing additional tasks.
What types of devices can contain computers?
Smartphones, laptops, desktops, modern cars, modern sewing machines, and modern pipe organs can all contain computers.
What is a programmer?
A programmer is a person who creates programs by writing instructions for computers.
How do programs commonly involve user interaction?
Programs may respond to users typing information, clicking buttons, tapping controls, or performing other input actions.
What does it mean for a computer to run a program?
The computer follows the program's instructions in order to complete the specified task.
Why is programming important for using computers as problem-solving tools?
Programming allows people to create their own computer-based solutions instead of being limited to existing applications and operating-system features.
What do computers fundamentally use to represent information?
Computers use binary, represented through electrical signals that are in an on or off state.
Why did early programmers need to use binary instructions?
Computers directly understand binary electrical states, so programs originally had to be expressed in binary instructions.
What is an assembly language?
An assembly language is a more human-readable form of programming that can be translated directly into binary instructions.
What is one advantage of writing programs in binary or assembly language?
The programmer has precise control over each computer instruction and can optimize the program very specifically.
Why might assembly language still be used today?
It may be used when a program requires very specific low-level optimization or control.
What are major disadvantages of programming directly in binary or assembly?
It requires writing large amounts of detailed code, is difficult to read and remember, and makes errors difficult to detect.
Why is creating a graphical window difficult in binary or assembly language?
The programmer must manually write instructions for displaying images, detecting mouse clicks, and determining whether clicks occur in meaningful locations.
What is the purpose of a programming language?
A programming language provides a relatively human-readable way to write instructions that can be translated into binary instructions.
How do programming languages simplify programming?
They often replace many binary instructions with a single easier-to-remember command.
Name examples of programming languages.
C, C++, Java, JavaScript, Node.js, Python, and Visual Basic are examples of programming languages or programming technologies discussed in the material.
What is a compiler?
A compiler translates human-readable source code into an executable program containing binary instructions that can be run.
What is an interpreter?
An interpreter reads code while the program is running and performs the instructions without compiling the entire program ahead of time.
What happens after source code is translated into binary instructions?
The computer runs the binary instructions to accomplish the program's task.
What is a programming language paradigm?
A programming language paradigm is a style or way of thinking about programming that helps make certain tasks easier.
What is object-oriented programming?
Object-oriented programming organizes a program around objects that have properties, perform actions, and interact with one another.
How does object-oriented programming differ from a simple step-by-step approach?
It emphasizes objects interacting with one another rather than only listing sequential instructions such as step one, step two, and step three.
What is an object in object-oriented programming?
An object is something represented, used, or interacted with within a program.
What are properties of an object?
Properties are pieces of information or characteristics that describe an object.
What can objects do in object-oriented programming?
Objects can perform functions based on instructions and interact with other objects.
What is a class?
A class is a pattern or blueprint used to create objects.
What does a class define for its objects?
A class defines the objects' properties, what they can do, and how other objects or code can interact with them.
What is an instance of a class?
An instance is one individual object created from a class.
What does it mean to instantiate an object?
To instantiate an object means to create it from a class's pattern.
How are a teacher class and a teacher object related?
The teacher class defines the pattern, while a particular teacher object is an instance created from that pattern.
How can objects contain relationships with other objects?
An object can store references to other objects in its properties and interact with them through defined actions.
What is an integrated development environment, or IDE?
An IDE is a program that allows developers to create, run, test, and build programs in one environment.
How did programming tools often work before IDEs?
Programmers wrote code in a basic text editor, manually ran a compiler or interpreter, and often used separate testing tools.
What is the main benefit of an IDE?
An IDE brings code creation, execution, testing, and application building into one piece of software.
What does GUI stand for?
GUI stands for graphical user interface.
What does a graphical user interface allow users to do?
It allows users to see and interact with a program using devices such as a monitor, mouse, keyboard, touchscreen, or other input devices.
How does a phone GUI differ from a traditional computer GUI in input?
A phone GUI commonly uses tapping on the touchscreen, while a traditional computer GUI commonly uses a mouse and keyboard.
Is a GUI separate from the program that uses it?
No. A GUI is a component of a program, created through instructions that allow users to interact with that program.
What is an application?
An application is generally a program that has a graphical user interface.
How does an application differ from a text-based program?
An application usually provides a GUI, whereas a text-based program runs through a terminal, shell, or similar text-only interface.
What is the typical job of a professional programmer?
A programmer creates computer-based solutions to problems faced by a company or its users.
What kinds of employment arrangements may programmers have?
Programmers may work as full-time employees or as contract workers.
What does it mean for a programmer to solve a problem generally rather than specifically?
The program should handle all possible relevant inputs, values, or users instead of solving only one case with fixed details.
What is the first step in the programming workflow?
Meet with the people who will use the program and understand their needs and the problem to be solved.
Why should programmers understand the problem completely before coding?
They need to identify the required tasks and determine how software can fill the missing pieces of the user's workflow.
What should programmers do before writing code?
They should plan a solution, including what the program must do and how each required task will be handled.
What is cowboy coding?
Cowboy coding is starting to write code without first planning the program's solution and behavior.
What generally happens after the program's behavior has been planned?
The programmer codes the program and tests it to verify that it works and meets user needs.
What is alpha testing?
Alpha testing checks the program internally to ensure it is correctly written and does not crash or contain basic implementation problems.
What is beta testing?
Beta testing involves users evaluating whether the program solves their problems and is acceptable to use.
How do the Software Development Life Cycle and Agile differ in repetition?
A traditional Software Development Life Cycle may aim to complete stages with minimal repetition, while Agile develops in short bursts followed by testing, user feedback, and repeated improvement.
What factors can affect how often the programming workflow is repeated?
The chosen workflow and the availability of users or other stakeholders for testing and feedback can affect repetition.
What are the broad stages of a programmer's workplace workflow?
Meet users, understand the problem, plan a solution, code the program, test it, gather feedback, revise when necessary, and deliver the final product.

Ask anything
We've read this whole study set, so questions about it get the best answers.