Practise Test-1

Practise Test-1

University

20 Qs

quiz-placeholder

Similar activities

Quiz on Misinformation and Bias

Quiz on Misinformation and Bias

10th Grade - University

18 Qs

DI (EM24) - Diseño de Contenidos (T8)

DI (EM24) - Diseño de Contenidos (T8)

University - Professional Development

20 Qs

Round 2 for Preplacement Bootcamp

Round 2 for Preplacement Bootcamp

University

15 Qs

IT 101 - Quiz 3

IT 101 - Quiz 3

University

20 Qs

DWDM Unit1 Quiz

DWDM Unit1 Quiz

University

21 Qs

COA_QUIZ_UNIT I

COA_QUIZ_UNIT I

University

20 Qs

CPA MS-Office Hotkeys Quiz

CPA MS-Office Hotkeys Quiz

8th Grade - Professional Development

21 Qs

Algo Quiz

Algo Quiz

University

16 Qs

Practise Test-1

Practise Test-1

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

SATYA CSE

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

what is the ideal time for starting usage of static analyzers?

as soon as coding starts

once all the coding is over

along with system testing

after unit testing

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

which expression will extract substring "kap" from String str="kakapo"?

str.substring(2,2)

str.substring(2,3)

str.substring(2,4)

str.substring(2,5)

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one of the following primitive type conversion is

permitted implicitly without using casting?

long to int

float to double

double to long

double to float

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the field declaration is legal within the body of

an interface?

protected static int answer = 42;

volatile static int answer = 42;

int answer = 42;

private final static int answer = 42;

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which one of the expressions will evaluate to true if precededby the following code? String a = "hello"; String b = new String(a); String c = a; char[] d = { ‘h’, ‘e’, ‘l’, ‘l’, ‘o’ };

(a == "Hello")

(a == b)

a.equals(b)

a.equals(d)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which method is not defined in the String class?

reverse()

length()

concat(String)

hashCode()

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Suppose you are creating a class named Button that you want to include in a group of related classes called controls. Identify the correct code that includes the class in that group.

public class Button

package controls;

import controls;

package Button;

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers