Practise Test-1

Practise Test-1

University

20 Qs

quiz-placeholder

Similar activities

DWDM-2

DWDM-2

University

20 Qs

IGH Test de Entrada

IGH Test de Entrada

University

20 Qs

Relational Algebra and Calculus

Relational Algebra and Calculus

University

20 Qs

Artificial Intelligence CT-1

Artificial Intelligence CT-1

University

20 Qs

Computational Thinking in Python[Quiz 3]

Computational Thinking in Python[Quiz 3]

University

15 Qs

Micro Arch - CPUs & Fetch-Execute

Micro Arch - CPUs & Fetch-Execute

University

20 Qs

Pra UPS 2

Pra UPS 2

University

20 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