
Practise Test-1
Quiz
•
Computers
•
University
•
Practice Problem
•
Hard
SATYA CSE
Used 2+ times
FREE Resource
Enhance your content in a minute
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Data Mining - Classification Mining
Quiz
•
University
20 questions
SMARTICUS
Quiz
•
University
15 questions
PROBLEM SOLVING USING R UNIT I MCQS
Quiz
•
University
20 questions
Microsoft Excel
Quiz
•
KG - Professional Dev...
20 questions
data structures1
Quiz
•
University
16 questions
Quiz on List and Tuples
Quiz
•
University
20 questions
Week 5: Test your understanding part 1
Quiz
•
University
15 questions
Digital Etiquette
Quiz
•
4th Grade - University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
