
Practise Test-1

Quiz
•
Computers
•
University
•
Hard
SATYA CSE
Used 2+ times
FREE Resource
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;
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
java básico y pilas

Quiz
•
University
23 questions
Java Array

Quiz
•
University
20 questions
Exception Handling C++

Quiz
•
University
15 questions
Coding club Summit Online Quiz

Quiz
•
University
15 questions
Soal Java

Quiz
•
11th Grade - University
15 questions
Python End of Topic Quiz

Quiz
•
8th Grade - University
23 questions
OCA Unit 1

Quiz
•
11th Grade - Professi...
25 questions
Java Review

Quiz
•
9th Grade - University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University