What is the output?
x = 3
if x > 5:
print("A")
elif x > 2:
print("B")
else:
print("C")
B
This data structure stores elements in an ordered sequence and allows them to be accessed using an index.
List and Array
What is a class
A blueprint or template used to create individual objects in object-oriented programming
Unlike a hard drive or SSD, this type of memory loses its contents when the computer is turned off.
RAM
The tool developers use to track changes and collaborate, created by Linus Torvalds.
Git/Github
In programming, this stores a value that can change while a program is running.
Variable
This data structure follows the principle of “Last In, First Out.”
Stacks
The object-oriented principle where a new class automatically receives the attributes and methods of an existing class.
Inheritance
This component executes instructions and performs calculations for a computer.
CPU
What is chatgpt?
LLM
This programming structure repeatedly executes a block of code while a condition is true.
Loop
This data structure follows the principle of “First In, First Out,” like people waiting in a line.
Queue
A single instance created from a class, like one specific dog built from the Dog blueprint.
In other words a self-contained component of a program that combines data (state) and actions (behavior) into a single bundle
Object
This component is designed specifically to perform large numbers of parallel calculations and is commonly used for graphics and machine learning.
What is a GPU?
what are the two most common computer languages.
Python and Javascript (also Java)
A named, reusable block of code that performs a task and can be called from anywhere in your program.
Function
This algorithm searches through a list one element at a time until it finds what it is looking for.
What is linear search?
A function defined inside a class, as opposed to a standalone one.
What is a method?
A space in the memory where the variables are stored
Memory Address
Injecting malicious database commands through an unsanitized input field.
What is SQL injection?
What's the difference between a list and dictionary.
A list keeps the order of items and allows duplicates, while a set does not keep a specific order and only stores unique items
This algorithm can search a sorted list in O(log n) time by repeatedly cutting the search space in half.
What is binary search?
The pillar whose name literally means "many forms" one command, different results depending on who receives it.
polymorphism
The main circuit board everything else plugs into.
The measure of how many images per second a game renders, ideally 60 or higher.
What is frame rate (FPS)?