Shared Flashcard Set

Details

Systems Terms: C Strings, Data Types, I/O
Lecture 5 of my Systems class
14
Computer Science
Graduate
02/12/2025

Additional Computer Science Flashcards

 


 

Cards

Term
Steps to compile (3)
Definition
1) Preprocessing
2) Translation
3) Linking
Term
Preprocessing(3)
Definition
1) Performs text substitution
2) Includes files
3) Defines macros
Term
Translation
Definition
Converts preprocessed code into machine code
Term
Linking
Definition
Compile a bunch of different C files (including libraries) into modules, then link them all together to form a single binary executable
Term
Data types (4)
Definition
1) Char
2) Double
3) Float
4) Int
Term
Size of a char
Definition
1 byte
Term
Minimum size of a short int
Definition
2 bytes
Term
Minimum size of an int
Definition
4 bytes
Term
Minimum size of a long int
Definition
8 bytes
Term
The first argument of a function
Definition
The program name
Term
The first argument
Definition
Program name
Term
Add a newline to a string
Definition
puts(some_string)
Term
Include guard for booleans
Definition
#include
Term
How to handle flags
Definition
Conditionals
Supporting users have an ad free experience!