Week 1 - Introduction Flashcards
What do operating systems do?
> provide a better model of the computer and
> manage all the resources
What kind of language is c?
a general purpose, low level, system programming language
what is the standard version of C that we use?
ANSI C
what steps does the shell go through to compile a c file?
> user enters compilation command
shell reads command from terminal
shell creates a child process to compile
when the child finished it syscalls to terminate itself
describe the library
Input and output
describe the library
numeric conversion, pseudo-random generation, memory allocation, process control
describe the library
access to the POSIX OS
describe the library
sting-handling
describe the library
error reporting
describe the library
common mathematical functions
describe the library
managing multiple threads, mutexes, condition variables
what are the 3 types of control structures?
sequential, selection, repetition
Why has C been called a “system programming language”?
C is useful for writing operating systems and compilers
What is the name of the compiled file if you run :
$ gcc helloWorld.c
a.out