Software Development Foundations Flashcards

(26 cards)

1
Q

What does ASCII stand for and how many characters does it represent?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How is Unicode different from ASCII?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the binary system?

A

Base-2 number system using only 1s (on) and 0s (off).

Boot Story: Every digital device speaks binary—it’s the heartbeat of computers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is decimal notation?

A

Base-10 number system (0–9) that humans use daily.

Boot Story: It’s the same math system you use at the grocery store.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is hexadecimal notation?

A

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 well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you convert binary into decimal?

A

Add values of binary positions (2^n) where 1s are located.

Boot Story: Like flipping light switches—add up the ones that are “on.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are integers and floats?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a string in programming?

A

A group of characters treated as text

Boot Story: Strings are like sentences typed in quotes—e.g., “Hello World.”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is a char in programming?

A

A single character, like “A” or “1”.

Boot Story: Char is the smallest building block of strings.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a Boolean data type?

A

Data type that stores only true/false or yes/no values.

Boot Story: Like a light switch—only two choices, on or off.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is assembly language?

A

Low-level programming language close to machine code.

Boot Story: Think of it as direct communication with the CPU—powerful but tough to learn.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Give one advantage and one disadvantage of assembly language.

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are compiled languages?

A

Source code converted once into machine code for repeated execution.

Boot Story: Like baking a cake—you prep once, then serve it many times.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Name two advantages of compiled languages.

A

Advantages: Run faster and more efficient; allow more hardware control.

Boot Story: They’re like pre-packed meals—fast and ready to go.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is a disadvantage of compiled languages?

A

Disadvantages: Harder to debug and often not cross-platform.

Boot Story: Like a device charger that only works with one type of phone.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are interpreted languages?

A

Languages that run line by line through an interpreter every time the program executes.

Boot Story: Like a live translator speaking while you talk.

17
Q

Give an example of a markup language and a scripting language.

A

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.

18
Q

*

What are query languages used for?

A

Retrieve or manipulate data in databases (e.g., SQL, LDAP).

Boot Story: Like asking a librarian to fetch the exact book you need.

19
Q

What are identifiers in programming?

A

Names given to constants or variables.

Boot Story: Like name tags—constants never change, variables can.

20
Q

What are conditional statements?

A

rules that tell a computer what to do only when something is true.

Boot Story: Like choosing an outfit depending on the weather.

21
Q

What are loops used for?

A

Repeat a block of code until a condition is met.

Boot Story: Like a washing machine cycle that keeps spinning until the timer ends.

22
Q

What’s the difference between a for loop and a do while loop?

A

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.”

23
Q

*

What is an instruction set in programming?

A

A collection of functions and methods that perform tasks.

Boot Story: Like tools in a toolbox—some standard, some custom-made.

24
Q

What is pseudocode?

A

Human-readable code written to outline logic, not executed by a computer.

Boot Story: Like sketching a blueprint before building a house.

25
What are arrays and vectors?
Arrays: Fixed-size list of values. Vectors: Dynamic-size list of values. ## Footnote Boot Story: Arrays are like egg cartons (fixed slots), vectors are like expandable folders.
26
What is an object in programming?
A collection of attributes, properties, and methods. ## Footnote Boot Story: Like a real-world object (dog) that has properties (color, weight) and actions (bark, sit).