What does ASCII stand for and how many characters does it represent?
ASCII (American Standard Code for Information Interchange), Uses 7 bits to represent 128 characters such as letters, digits, and symbols.
Boot Story: Think of ASCII as the early “alphabet” of computers—just enough for English text.
How is Unicode different from ASCII?
A global system for representing text that supports over 136,000 characters across 139 languages.
Boot Story: While ASCII is like a local dictionary, Unicode is like a world dictionary—covering almost every written language.
What is the binary system?
Base-2 number system using only 1s (on) and 0s (off).
Boot Story: Every digital device speaks binary—it’s the heartbeat of computers.
What is decimal notation?
Base-10 number system (0–9) that humans use daily.
Boot Story: It’s the same math system you use at the grocery store.
What is hexadecimal notation?
Base-16 system using numbers 0–9 and letters A–F.
Boot Story: Developers use hex to simplify binary—it’s like a shorthand for computer memory values.
How do you convert binary into decimal?
Add values of binary positions (2^n) where 1s are located.
Boot Story: Like flipping light switches—add up the ones that are “on.”
What are integers and floats?
Integers are whole numbers; floats are numbers with decimals.
Boot Story: Integers are like steps on a staircase, floats are like ramps with smooth values.
What is a string in programming?
A group of characters treated as text
Boot Story: Strings are like sentences typed in quotes—e.g., “Hello World.”
What is a char in programming?
A single character, like “A” or “1”.
Boot Story: Char is the smallest building block of strings.
What is a Boolean data type?
Data type that stores only true/false or yes/no values.
Boot Story: Like a light switch—only two choices, on or off.
What is assembly language?
Low-level programming language close to machine code.
Boot Story: Think of it as direct communication with the CPU—powerful but tough to learn.
Give one advantage and one disadvantage of assembly language.
Advantage: Faster and great for hardware-level tasks.
Disadvantage: Steep learning curve.
Boot Story: Like driving a manual car—more control, but harder to master.
What are compiled languages?
Source code converted once into machine code for repeated execution.
Boot Story: Like baking a cake—you prep once, then serve it many times.
Name two advantages of compiled languages.
Advantages: Run faster and more efficient; allow more hardware control.
Boot Story: They’re like pre-packed meals—fast and ready to go.
What is a disadvantage of compiled languages?
Disadvantages: Harder to debug and often not cross-platform.
Boot Story: Like a device charger that only works with one type of phone.
What are interpreted languages?
Languages that run line by line through an interpreter every time the program executes.
Boot Story: Like a live translator speaking while you talk.
Give an example of a markup language and a scripting language.
Markup: HTML. Scripting: Python.
Definition: Markup structures content; scripting executes tasks.
Boot Story: Markup is like formatting a document, scripting is like giving it instructions.
*
What are query languages used for?
Retrieve or manipulate data in databases (e.g., SQL, LDAP).
Boot Story: Like asking a librarian to fetch the exact book you need.
What are identifiers in programming?
Names given to constants or variables.
Boot Story: Like name tags—constants never change, variables can.
What are conditional statements?
rules that tell a computer what to do only when something is true.
Boot Story: Like choosing an outfit depending on the weather.
What are loops used for?
Repeat a block of code until a condition is met.
Boot Story: Like a washing machine cycle that keeps spinning until the timer ends.
What’s the difference between a for loop and a do while loop?
For Loop: Runs a set number of times. Do While Loop: Runs until a condition changes.
Boot Story: For loop is like a countdown timer, do while is like “keep going until the job is done.”
*
What is an instruction set in programming?
A collection of functions and methods that perform tasks.
Boot Story: Like tools in a toolbox—some standard, some custom-made.
What is pseudocode?
Human-readable code written to outline logic, not executed by a computer.
Boot Story: Like sketching a blueprint before building a house.