[FAST TRACK] QT CLASS 01 QUIZ 14

[FAST TRACK] QT CLASS 01 QUIZ 14

Professional Development

25 Qs

quiz-placeholder

Similar activities

NAVICO Q&A SESSION

NAVICO Q&A SESSION

Professional Development

22 Qs

Hunter Test 2.0

Hunter Test 2.0

Professional Development

30 Qs

CS Manual Update 2021 - July 2021

CS Manual Update 2021 - July 2021

Professional Development

20 Qs

Knowledge Quiz v4

Knowledge Quiz v4

Professional Development

20 Qs

ekg operations

ekg operations

Professional Development

20 Qs

2024 TLC FINAL QUIZ

2024 TLC FINAL QUIZ

Professional Development

22 Qs

ความรู้เบื้องต้น LC

ความรู้เบื้องต้น LC

Professional Development

20 Qs

QUEIXA TÉCNICA

QUEIXA TÉCNICA

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?