[FAST TRACK] QT CLASS 01 QUIZ 14

[FAST TRACK] QT CLASS 01 QUIZ 14

Professional Development

25 Qs

quiz-placeholder

Similar activities

LMS - Quiz G4

LMS - Quiz G4

Professional Development

20 Qs

ENGLISH LEVEL 6

ENGLISH LEVEL 6

6th Grade - Professional Development

25 Qs

2024 TLC FINAL QUIZ

2024 TLC FINAL QUIZ

Professional Development

22 Qs

Internet Abbreviations

Internet Abbreviations

Professional Development

24 Qs

A job interview 1

A job interview 1

Professional Development

22 Qs

Strong Foundations Product Advisor

Strong Foundations Product Advisor

Professional Development

23 Qs

[FAST TRACK] QT 02 - QUIZ 1

[FAST TRACK] QT 02 - QUIZ 1

Professional Development

25 Qs

Metric Conversions-VN Students

Metric Conversions-VN Students

Professional Development

20 Qs

[FAST TRACK] QT CLASS 01 QUIZ 14

[FAST TRACK] QT CLASS 01 QUIZ 14

Assessment

Quiz

English, Special Education, Professional Development

Professional Development

Medium

Created by

Trang Thu

Used 5+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What describes an object?
Visibility, mutability and actions
Name, category and rules
Noun, adjective and verb
Properties, state and behavior

2.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Data hiding is one of the core OO-concepts. How can you "hide" your class attributes from external classes and only allow child classes to access them? What's the corresponding UML visibility indicator?
Mark them as private (- in UML)
Mark them as protected (# in UML)
Mark them as package (~ in UML)
None of above

3.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

Which of the following describes the Decorator pattern correctly?
This pattern allows a user to add new functionality to an existing object without altering its structure.
This pattern is used where we need to treat a group of objects in similar way as a single object.
This pattern hides the complexities of the system and provides an interface to the client using which the client can access the system.
This pattern is primarily used to reduce the number of objects created and to decrease memory footprint and increase performance.

4.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

In MVC pattern, Model represents an object carrying data. It can also have logic to update controller if its data changes.
true
false

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

which of the following is correct?
infinite loop because x always != 0
while loop will be stopped when x = 0
while loop do nothing because x = -1
None of these

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What is the result of the following code?
12
52
56
Compiler Error

7.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What are unit test coverage criteria?
Instructions Coverage
Method Coverage
Branch Coverage
All options

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?