0% found this document useful (0 votes)
20 views

Summative Net

Uploaded by

Aileen Enriquez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Summative Net

Uploaded by

Aileen Enriquez
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

3RD PERIODIC TEST

JAVA PROGRAMMING

Choose the letter of the correct answer by shading the circles in the answer sheet provided.
STRICTLY NO ERASURES.
Read each scenario carefully and choose the most appropriate option for each multiple-choice question.

1. What is OOP? B) To combine data and functions into one unit


A) Ordinary Object Programming C) To extract essential properties and behavior
B) Object Oriented Programming D) To inherit variables and functions
C) Operational Object Protocol
D) Organic Object Processing 13. What is an Object in OOP?
2. What are the building blocks of OOP? A) A variable in OOP
A) Functions and Variables B) An instance of a class holding data
B) Classes and Objects C) A prototype or blueprint
C) Conditions and Loops D) A method to calculate shipping cost
D) Arrays and Pointers 14. Which of the following is NOT a building block of
3. What is a Class? OOP?
A) An instance of an object A) Classes
B) A variable in OOP B) Objects
C) A prototype or blueprint C) Loops
D) A method to calculate shipping cost D) Abstraction
4. What does Encapsulation in OOP mean? 15. What does the Inheritance Example show?
A) Combining data and functions into one unit A) Creating new classes from existing classes
B) Creating new classes from existing classes B) Combining data and functions into one unit
C) Inheriting variables and functions C) Extracting essential properties and behavior
D) Extracting essential properties and behavior D) Encapsulation in OOP
5. What is Inheritance in OOP? 16. What is the role of Polymorphism in OOP?
A) Combining data and functions into one unit A) Combining data and functions into one unit
B) Creating new classes from existing classes B) Creating new classes from existing classes
C) Extracting essential properties and behavior C) Ability to have multiple forms for a function or
D) Solving problems through interaction among method
objects D) Extracting essential properties and behavior
6. Which programming paradigm does OOP 17. What are the disadvantages of OOP mentioned
follow? in the content?
A) Functional Programming A) Initial extra effort and only suited for simple
B) Procedural Programming applications
C) Object Oriented Programming B) Suited for all real-world problems
D) Logical Programming C) Requires less maintenance effort
7. What does Abstraction involve in OOP? D) Only suitable for complex applications
A) Combining data and functions into one unit 18. What is the purpose of Abstraction in OOP?
B) Extracting essential properties and behavior A) To create new objects
C) Creating new classes from existing classes B) To define a set of variables and functions
D) Inheriting variables and functions C) To combine data and functions into one unit
8. Which is a disadvantage of OOP? D) To extract essential properties and behavior
A) Initial extra effort in modeling classes 19. Which term refers to the mechanism of
B) Suited for all real-world problems combining data and functions into one unit?
C) Requires less maintenance effort A) Inheritance
D) Only suitable for simple applications B) Polymorphism
9. \What is Polymorphism in OOP? C) Encapsulation
A) Combining data and functions into one unit D) Abstraction
B) Creating new classes from existing classes 20. What does a Class represent in OOP?
C) Ability to have multiple forms for a function or A) An instance of an object
method B) A set of variables and functions
D) Extracting essential properties and behavior C) A method to calculate shipping cost
D) A real-world entity
10. What is the main purpose of a Class in OOP? 21. You need to organize and analyze a large
A) To create new objects dataset. Which Microsoft Office application
B) To define a set of variables and functions would be most suitable for this task?
C) To execute code A) Word
D) To encapsulate data B) PowerPoint
C) Excel
11. Which is an example of Abstraction? D) Access
A) Class ShippingBox 22. You're working on a financial report and want to
B) Object Ann format the cells to make the data more visually
C) Inheritance Example appealing. Which ribbon tab in Excel should you
D) Encapsulation in OOP navigate to?
12. What is the purpose of Encapsulation in OOP? A) Home
A) To create new objects B) Insert
C) Format 32. You are managing a database of product prices
D) Page Layout and need to find the highest price. Which
23. In a spreadsheet, you want to combine the first function is most suitable for this task?
name and last name columns into a single A) MIN
column. Which Excel function should you use for B) MAX
this task? C) HIGH
A) SUM D) TOP
B) CONCAT 33. You're tasked with counting the number of
C) MERGE completed tasks in a project sheet. Which Excel
D) CONCATENATE function is best for this purpose?
24. You are tasked with finding specific values in a A) COUNTIF
large table of data. Which Excel function would B) SUMIF
be most helpful for this task? C) COUNT
A) SEARCH D) IFTHEN
B) VLOOKUP 34. You are adjusting the page setup and layout for
C) SUMIF a sales report. Which ribbon tab in Excel should
D) IFERROR you navigate to?
25. To quickly find the total expenses for a project, A) Home
which formula should you use in Excel? B) Insert
A) AVG C) Page Layout
B) MAX D) View
C) SUM
D) TOTAL 35. In an Excel sheet, you need to convert a text
26. You want to create a series of dates for a project representation of a date into a proper date
plan. What is the most efficient way to achieve format. Which function would be most
this in Excel? appropriate for this task?
A) By using the DATE function A) DATEVALUE
B) By typing each date individually B) TEXTTOVALUE
C) By dragging the fill handle C) STRINGDATE
D) By using the TODAY function D) CONVERTDATE
27. You need to add the current date and time to a 36. You want to extract the first 5 characters from a
cell in your Excel spreadsheet. What function product code in Excel. Which function should
should you use? you use?
A) NOW A) RIGHT
B) DATE B) LEFT
C) TIME C) MID
D) CURRENT D) EXTRACT
28. In a project management sheet, you want to 37. You're working on a project where you need to
combine task names with their respective combine cells horizontally to create a single
completion status. Which function would help entry. Which Excel function is most suitable for
you achieve this? this task?
A) SEPARATE A) CONCAT
B) MERGESTATUS B) MERGEHORIZONTAL
C) CONCATENATE C) JOIN
D) UNIFY D) UNITE
29. Your team is working on a project schedule, and 38. You're managing an inventory sheet and need to
you want to merge cells to create a header. find out how many products have a quantity
What does merging cells involve in Excel? greater than zero. Which Excel function should
A) Combining multiple worksheets into one you use?
B) Joining two or more workbooks A) COUNT
C) Combining adjacent cells into one larger cell B) SUM
D) Aligning cells to the center of the sheet C) NUMCOUNT
30. You are tasked with calculating the average D) COUNTNUM
rating given by a group of reviewers. Which 39. Your report requires both the current date and
formula should you use in Excel? time. Which function should you use in Excel?
A) AVG A) TODAY
B) MEAN B) NOW
C) AVERAGE C) CURRENTDATE
D) SUM D) DATETIME
31. In a budget spreadsheet, you want to display 40. To keep the header row visible while scrolling
"Approved" or "Denied" based on a specific through a large dataset in Excel, what should
condition. Which Excel function would you use? you do?
A) IFERROR A) Select the cells to freeze, then go to the
B) IF Freeze Panes option under the View tab
C) THENELSE B) Use the CTRL + F shortcut
D) CONDITIONAL C) Merge the cells you want to freeze
D) Use the Autofill feature under the Home tab

You might also like