Skip to content
โ† SetsProgramming Fundamentals โ€” Set 1
0 of 10

Programming Fundamentals Practice Questions โ€” Set 1

10 free Programming Fundamentals reviewer questions with answers and explanations. Pindutin ang sagot mo para makita agad kung tama โ€” kasama na ang paliwanag. Set 1 of 5.

1

Which of the following is the most appropriate data type for storing a variable that tracks whether a user has successfully logged in or not?

2

What is the primary difference between a 'while' loop and a 'do-while' loop in programming?

3

In Object-Oriented Programming, which concept allows a subclass to provide a specific implementation of a method that is already defined in its superclass?

4

What does the 'Big O Notation' O(n) represent in terms of algorithm complexity?

5

Which of the following best describes the principle of 'Encapsulation' in software development?

6

What is the result of the expression 17 % 5 in most programming languages?

7

Which data structure follows the Last-In, First-Out (LIFO) principle?

8

What is the purpose of a 'compiler' in the software development process?

9

Which of the following is an example of a 'runtime error'?

10

In a recursive function, what is the 'base case' used for?