Only studying with a list of exam questions can become a hit or miss game for preparation. You may get a good grade because the questions you studied for also appeared in the exam (hit). However, you may also get a bad grade even though you studied hard, because in the exam a different set of questions may have appeared than you prepared for (miss). Then you may push the responsibility on the instructor, because they did not list the relevant questions.
Listing all the questions you may get is difficult, even impossible. Using a list of what you should be able to do in the exam may be better for you to avoid the hit or miss game.
To do well in the oral exam, you should be able to explain and demonstrate the following:
1️⃣ Flowchart¶
Chat¶
Use chat in study mode
Flowchart¶
translate a process into a flowchart
Repository¶
Explain why we use repositories
Upload your work to a repository
Accept and submit an assignment using Classroom 50 and GitHub
Delete a file on GitHub
See autograder results
2️⃣ Programming Concepts¶
Flowchart analysis¶
Compare flowchart with the text description and check correctness
Peer feedback¶
Give feedback based on criteria.
Use a GitHub pull request to give feedback.
Core programming concepts¶
Find examples of sequence, selection and iteration
Differentiate between control and data
Recognize condition in selections
Coding the process¶
Translate the core programming concepts into code
3️⃣ C Basics¶
Use simple input/output statements
Differentiate and use different data types
Explain that any nonzero value counts as true in C and predict the result of a condition (truthiness)
Draw a conceptual visualization of memory and explain what assignments do in memory using the visualization
Recognize the precedence of operators and use parentheses for explicit order
Write simple decision-making statements
4️⃣ Structured program dev.¶
Stepwise refinement & while¶
Develop a program using top-down stepwise refinement
Use
ifandif-elseto select an actionUse a
whileto implement an iteration
Pre- and post-increment¶
Use pre- or post-increment
5️⃣ Program Control¶
Recognize common mistakes in control statements and fix them.
Trace a short program out loud and predict its output.
Use
forloops to generate sequences of numbers and graphical patterns.
Pair programming¶
Describe the responsibilities of the driver and the navigator, and when to switch
Act as driver by narrating what you are typing and why
Act as navigator by asking guiding questions and catching mistakes without taking over the keyboard
Give your partner constructive feedback and reflect on what you learned from them
6️⃣ Functions¶
Write void and value-returning functions that take parameters, and call them with arguments
Explain the difference between returning a value and printing it
Differentiate between local and global scope
Use the random function
randby includingstdlib.hand calling itDefine enumeration variables using
enum
7️⃣ Arrays¶
Define and use an array
Use
size_ttype when iterating over an arrayInitialize an array
Differentiate between static and automatic arrays
Visualize variable modifications using step-by-step debugging
Pass arrays to functions
8️⃣ Pointers¶
Explain the motivation for pointers
Define and use pointers including
*and&operatorsPass arguments to functions by reference, write functions that accept pointers
Differentiate between constant pointers and constant values based on the
constsyntaxUse
sizeofoperatorExplain the role of pointers in arrays and strings
9️⃣ Strings, Formatted IO¶
Use common strings functions like concatenation, searching, transformation
Input and output formatted strings using
sprintfandsscanfSplit on tokens using
strtok_rorstrsepDefine an array with an element counter
Explain how
putcharand other IO functions likeprintfcan be used in a microcontroller which does not necessarily have a terminal
🔟 Structs, unions, enumerations¶
Explain when a
structis usefulDeclare a struct (including nested structs) and access its members using
.and->pass structs to functions and return them
Create synonyms using
typedefDefine and use unions and bitfields
Use bitwise operators
🔟1️⃣ File processing¶
Differentiate between text and binary files
Explain which C language concepts enable random-access and sequential access
Explain the purpose of the
FILEstruct including its relevance for the operating systemRead, write, and update (to) a file in a sequential and random-accessed manner
🔟2️⃣ Coding with AI¶
Explain the structure of an unfamiliar codebase using AI and verify the explanation
Add new features, tests, and documentation using AI
Use Git to organize your changes, e.g., branching, pull requests, and merging
Review your changes using AI
Reflect on using AI as a pair programmer in a learning setting