1) Which of the following is the primary goal of using OOP in multimedia applications? a) Reducing CPU usage b) Integrating different data types into one module c) Minimizing screen resolution d) Increasing storage capacity 2) What does encapsulation primarily achieve? a) A) Hides code from users b) B) Combines data and instructions into a single object c) C) Speeds up data transmission d) D) Translates source code into binary 3) Which OOP feature enables automatic property inheritance by subclasses? a) A) Abstraction b) B) Compilation c) C) Inheritance d) D) Polymorphism 4) What problem does encapsulation help developers avoid? a) A) Deciding how each separate type of data is integrated and synchronized b) B) Writing long manuals c) C) Creating user interfaces d) D) Debugging syntax errors 5) Which shape is defined as having four sides and equal angles? a) A) Equilateral triangle b) B) Rectangle c) C) Square d) D) Polygon 6) What is the main benefit of code reusability? a) A) Reduced program execution speed b) B) Simplified data encryption c) C) Faster program development and maintenance d) D) More complex debugging 7) How does polymorphism enhance flexibility in programming? a) A) By allowing code to be reused in new programs b) B) By enabling objects to respond differently to the same input c) C) By hiding program logic from users d) D) By reducing memory usage 8) What does the term object represent in OOP? a) D) A type of error b) A) A variable type c) B) A bundle of data and functions d) C) A mathematical formula 9) In the programming department letter, which language is mentioned as declining? a) A) Java b) B) BASIC c) C) Assembler d) D) C# 10) What request does Sarah Jennings make in her letter? a) A) Hire more programmers b) B) Purchase more computers c) C) Update department resources and training d) D) Increase salaries 11) Which programming language is used for translating between other programs? a) A) Compiler b) B) Interpreter c) C) Assembler d) D) Linker 12) What happens when a triangle object is selected in an OOP interface? a) Only its color changes b) Its data and instructions are executed c) It deletes the other objects d) It freezes the program 13) What is the relationship between a class and an instance? a) A) Instances are generalizations of classes b) B) Classes are specific cases of instances c) C) Instances are specific occurrences of a class d) D) There is no relationship 14) Which of the following best describes inheritance in a business context example? a) A) Employees inheriting data from a database b) B) An employee’s benefits automatically updating after relocation c) C) A system duplicating code for every employee d) D) Each user writing their own data manually 15) What is a major reason older CPUs are less efficient? a) A) They cannot multitask effectively b) B) They use too much storage c) C) They are incompatible with Java d) D) They cannot compile BASIC code

Leaderboard

Visual style

Options

Switch template

Continue editing: ?