AC
AnkiCollab
AnkiCollab
Sign in
Explore Decks
Helpful
Join Discord
Download Add-on
Documentation
Support Us
Notes in
C
To Subscribe, use this Key
indigo-california-lake-blue-happy-crazy
Status
Last Update
Fields
Published
11/04/2024
Name 4 concepts that C doesn’t give you.
Published
11/04/2024
What is used to run C and what does it do (2)?
Published
11/04/2024
C: What’s the header of the main function.
Published
11/04/2024
C: Name the print statement for saying your name and age. With name and age being variables.
Published
11/04/2024
How do Booleans work in C?
Published
11/04/2024
How does void work in C?
Published
11/04/2024
How does const work in C?
Published
11/04/2024
C: Write & explain a generic hello world.
Published
11/04/2024
Name the up to 6 steps in the workflow of creating a C program.
Published
11/04/2024
What 4 steps does GNU gcc go through? What “-<letter>” needs to be added to stop at after each step?
Published
11/04/2024
How does enum work in C?
Published
11/04/2024
Declaration in C - What’s the scope of the variable inside vs outside of a block? How does static influence that?
Published
11/04/2024
What makes the assignment operator in C special?
Published
11/04/2024
C: What’s the value of a post-increment (i++) and a pre-increment (++i)?
Published
11/04/2024
C: When casting from int to unsigned int or double, what happens to the bit-representation?
Published
11/04/2024
Name a similarity and a difference of an n-element array in Java vs in C
Published
11/04/2024
Describe the basic concept of a string in C
Published
11/04/2024
C: What’s the difference between the 2 types of header file inclusion? (<> and "")
Published
11/04/2024
C: How do macro definitions work?
Published
11/04/2024
C: Describe the general structure of preprocessor conditionals
Published
11/04/2024
C: Informal: What distinguishes Declarations from Definitions?
Published
11/04/2024
C: What’s the difference between declarations with extern vs with static?
Published
11/04/2024
C: T/F: A header file can contain function definitions.
Published
11/04/2024
C: Which lines of code need to be added to a headerfile such that macros, declarations,… are only executed once in the final file, even if the header …
Published
11/04/2024
C: How do Assertions work? (How does the syntax look like, when is it evaluated, what does it do?)
Published
11/04/2024
C: Signed vs. unsigned ints - What’s the default for constants?
Published
11/10/2024
C: Is -1 < 0U?
Published
11/04/2024
C: How do you negate a number in twos complement?
Published
11/04/2024
C: How do expressions between two values deal with values of signed and unsigned value?
Published
11/04/2024
C: How does the address space look like, after the program has been loaded?
Published
11/04/2024
C: Describe the functionality of stack frames
Published
11/04/2024
C: Define what a pointer is and how to declare/initialize it
Published
11/04/2024
C: What does &x mean for some variable x?
Published
11/04/2024
C: "to dereference a pointer" - What does that mean?
Published
11/04/2024
C: WikiHow: box and arrow diagrams → how do they work?
Published
11/04/2024
C: NULL - What is it?
Published
11/04/2024
C: pointer arithmetic - What’s the difference between *p += n and p += n?
Published
11/04/2024
C: int x = 1; - >What’s the difference between sizeof(int) and sizeof(x)?
Published
11/04/2024
C: Connection of arrays and pointers - How is an array name treated in an expression and what are the exceptions?
Published
11/04/2024
C: rewrite A[i] as a pointer
Published
11/04/2024
C: What are function pointers?
Published
11/04/2024
C: Give an example where memory for variables is statically allocated vs. when they are automatically allocated and include their scope.
Published
11/04/2024
C: How long exists dynamically allocated code in C?
Published
11/04/2024
C: Which library needs to be included to use malloc(), calloc(), … ?
Published
11/04/2024
C: Write a type definition for an unsigned long for which you want to use the name size_t
Published
11/04/2024
C: malloc() - How does the function head look like and what does it do?
Published
11/04/2024
C: calloc() - How does the function head look like and what does it do?
Published
11/04/2024
C: free() - How does the function head look like and what does it do?
Published
11/04/2024
C: realloc() - How does the function head look like and what does it do?
Published
11/04/2024
C: What is a memory leak?
Published
11/04/2024
C: What is a struct in C? How do you refer to it’s content?
Published
11/04/2024
C: What is a Union in C in comparison to a struct?
Published
11/04/2024
C: Write me a struct for a generic node in a linked list. (pls :p )
Published
11/04/2024
C: Allocators - What can’t they do (2), what must they do(3) ?
Published
11/04/2024
What are the general performance goals?
Published
11/04/2024
Define aggregate payload \(P_k\)
Published
11/04/2024
Define current heap size \(H_k\)
Published
11/04/2024
C: Define peak memory utilisation after k requests (Formula in regards to aggregate payload and heap size)
Published
11/04/2024
C: What is the struggle behind fragmentation? What types of fragmentation are there and what do they depend on?
Published
11/04/2024
C: Keeping track of free blocks in memory for future allocation. Name 4 methods to do that.
Published
11/04/2024
Describe implicit lists in allocatable memory for blocks (Setup / Allocation)
Published
11/04/2024
C: Describe implicit lists in allocatable memory for blocks - What is (bidirectional) coalescing?
Published
11/04/2024
C: Name the 3 key allocator policies (and what they are concerned about)
Published
11/04/2024
C: Describe explicit lists in allocatable memory for blocks (Structure of allocated and free blocks)
Published
11/04/2024
C: Imagine allocating something with splitting from an explicit free list. How do the pointers change?
Published
11/04/2024
C: Explicit lists in allocatable memory for blocks - Name the two insertion policies and a pro/con.
Published
11/04/2024
C: segregated lists (seglists) in allocatable memory for blocks - Describe the general structure.
Published
11/04/2024
C: Seglist allocation - Assume a block of size n has to be allocated. What does the allocator do? (given array of free lists for the size classes…
Published
11/04/2024
C: Seglist allocation - Name 2 advantages in comparison to implicit/explicit free lists.
Published
11/04/2024
What is the general concept of garbage collection?
Published
11/04/2024
C: Understanding pointers mini quiz→ What are the Types and Values of this?
Published
11/04/2024
C: nested arrays vs. multi-lvl array - Describe what makes them different conceptually.
Published
11/04/2024
C: structs - How do they compare to arrays?
Published
11/04/2024
C: Frank has given you this struct.Describe the layout of such a struct in memory such that each elements alignment requirements are satisfied to make…
Published
11/14/2024
What does the command setjmp() do?
Published
11/14/2024
What does the command longjmp() do?
Published
11/14/2024
What are coroutines? (very informally)
Published
11/14/2024
C: What is the basic functionality of a Linker in C compilation? (General concept in 1 sentence, Step 1, Step 2)
Published
11/14/2024
What are the 3 kinds of object files and their general properties?(object file as in a file that contains an object with some specific property)
Published
11/14/2024
C: ELF binaries - What is this?
Published
11/14/2024
C: Linker symbols (Name the 3 kinds)
Published
11/14/2024
C: What is the classification for strong/weak symbol?
Published
11/14/2024
C: static libraries - What are thay used for?
Published
11/14/2024
C: True or false? - The command line order does matter when the linker is resolving references.
Published
11/14/2024
C: shared libraries - What are thay?
Published
11/14/2024
C: Define the term worm.
Published
11/14/2024
C: Explain the vulnerability with: char gets(char* dest)
Published
11/14/2024
C: Name 3 optimization-related flags for compiler.
Published
11/14/2024
C: Name one thing the compiler is good at and one thing it’s bad at
Published
11/14/2024
What is the big boundary of optimizing compilers?
Published
11/14/2024
(Compiler Optimization) Code motion and precomputation - What is the concept of this?
Published
11/14/2024
C: (Compiler Optimization) Strength reduction - What is the concept of this?
Published
11/14/2024
Name 2 optimization blockers (So things that block the compiler from optimizing parts of the code)
Published
11/14/2024
C: How can you "optimize for locality"?
Status
Last Update
Fields