6CSN-Q3

6CSN-Q3

Professional Development

10 Qs

quiz-placeholder

Similar activities

Programación 4 DAW MEDAC

Programación 4 DAW MEDAC

Professional Development

14 Qs

Unity & C-Sharp Quiz

Unity & C-Sharp Quiz

Professional Development

10 Qs

2. Meeting - Variablen

2. Meeting - Variablen

Professional Development

10 Qs

JAVA QUIZ

JAVA QUIZ

Professional Development

11 Qs

DOT NET-SET1

DOT NET-SET1

Professional Development

15 Qs

pemrograman dasar

pemrograman dasar

Professional Development

10 Qs

Quiz Java héritage

Quiz Java héritage

Professional Development

10 Qs

C CODE MASTER B

C CODE MASTER B

Professional Development

15 Qs

6CSN-Q3

6CSN-Q3

Assessment

Quiz

Computers

Professional Development

Hard

Created by

RAVIKANTH K

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Where are the following four methods commonly used?

1) public void add(Component c)
2) public void setSize(int width,int height)
3) public void setLayout(LayoutManager m)
4) public void setVisible(boolean)

Graphics class

Component class

Both A & B

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many types of events are there?

2

3

4

11

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 Implement the Listener interface and overrides its methods is required to perform in event handling.

Yes

No

Sir din't teach

None

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is the container that doesn't contain title bar and MenuBars but it can have other components like button, textfield etc?

Window

Frame

Panel

Container

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the role of the paint method in a component?

To handle mouse clicks on the component

To render graphics on the component using the Graphics object

To add components to the container

To update the layout of the container

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which method is used to draw a string in the Graphics class?

drawString(String str, int x, int y)

paintString(String str, int x, int y)

writeString(String str, int x, int y)

text(String str, int x, int y)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which object is sent as parameter to setColor(_______)

Graphics a

Color c

Frame f

None

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?