Software Foundations: Algorithms, Logic, and Programming Concepts

Engineering

Knowledge check on the core ideas behind how programs are written and how they think

10 XP
Reward
10
Questions
5–10 min
Time
Q1 Question 1 of 10

What is an algorithm?

Q2 Question 2 of 10

In programming, what is a 'variable'?

Q3 Question 3 of 10

What does an 'if-else' statement do in a program?

Q4 Question 4 of 10

What is a programming 'loop' and why is it useful?

Q5 Question 5 of 10

A program has an 'infinite loop' — what happens and why is it a problem?

Q6 Question 6 of 10

What is a 'function' (or 'method') in programming?

Q7 Question 7 of 10

What does it mean for a program to have a 'bug' that causes it to work correctly 99% of the time but fail in rare cases?

Q8 Question 8 of 10

What is 'pseudocode' and when do programmers use it?

Q9 Question 9 of 10

What is 'computational thinking'?

Q10 Question 10 of 10

Why do programmers write 'comments' in their code?