Menu mobile
Home
Programming
Python Tutorial
Java Tutorial
C Tutorial
C++ Tutorial
Web Technology
HTML
CSS
Java Script
PHP
React JS
Node JS
Assignment
MS Office
HTML
CSS
Bootstrap
Java Script
JQuery
AngularJs
Project
Blog
QUIZ ON : java - JAVA INTRODUCTION
JAVA INTRODUCTION
00:00:00
English
Hindi
Question No# :
01
out of 22
Which of the following symbol is used to create string literals?
Which of the following symbol is used to create string literals?
A.
Single quotes
Single quotes
B.
Double quotes
Double quotes
C.
Question Mark
Question Mark
D.
Greater than
Greater than
Question No# :
02
out of 22
Which of the following is the name given to a variable in java?
Which of the following is the name given to a variable in java?
A.
Identifier
Identifier
B.
Operator
Operator
C.
Value
Value
D.
None of These
None of These
Question No# :
03
out of 22
What is the extension of a source code in Java?
What is the extension of a source code in Java?
A.
.java
.java
B.
.class
.class
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No# :
04
out of 22
Which among the following is not a language feature in Java?
Which among the following is not a language feature in Java?
A.
Robust
Robust
B.
Secured
Secured
C.
Platform Independent
Platform Independent
D.
Procedure Oriented
Procedure Oriented
Question No# :
05
out of 22
What is Java Programming Language?
What is Java Programming Language?
A.
A runtime system
A runtime system
B.
A set of development tools
A set of development tools
C.
An Application Programming Interface (API)
An Application Programming Interface (API)
D.
All of these
All of these
Question No# :
06
out of 22
What is a set of pseudo machine language instructions that are understood by the Java Virtual Machine and are independent of the underlying hardware called?
What is a set of pseudo machine language instructions that are understood by the Java Virtual Machine and are independent of the underlying hardware called?
A.
JVM
JVM
B.
Source Code
Source Code
C.
Compilation
Compilation
D.
Bytecode
Bytecode
Question No# :
07
out of 22
Which of the following is a token n java
Which of the following is a token n java
A.
Operators
Operators
B.
Identifiers
Identifiers
C.
Literals
Literals
D.
All of These
All of These
Question No# :
08
out of 22
Which among the following is a logical error?
Which among the following is a logical error?
A.
Missing semicolon
Missing semicolon
B.
Mismatched braces in classes and methods
Mismatched braces in classes and methods
C.
Misspelled keywords and identifiers
Misspelled keywords and identifiers
D.
Addition is required but subtraction is performed
Addition is required but subtraction is performed
Question No# :
09
out of 22
Which of the following is a symbol used to perform a calculation?
Which of the following is a symbol used to perform a calculation?
A.
Punctuator
Punctuator
B.
Variable
Variable
C.
Separator
Separator
D.
Operator
Operator
Question No# :
10
out of 22
which of the following is not a part of java character set?
which of the following is not a part of java character set?
A.
0-9
0-9
B.
a-z
a-z
C.
A-Z
A-Z
D.
None of These
None of These
Question No# :
11
out of 22
Which of the following is an example of static initialization?
Which of the following is an example of static initialization?
A.
A=B+C;
A=B+C;
B.
A=8;
A=8;
C.
Both A and B
Both A and B
D.
None of these
None of these
Question No# :
12
out of 22
Which of the following are the reserved word in java?
Which of the following are the reserved word in java?
A.
Variables
Variables
B.
Literals
Literals
C.
Keywords
Keywords
D.
Punctuators
Punctuators
Question No# :
13
out of 22
A Virtual Processor that is implemented in software and runs using the capabilities provided by your operating system and computer hardware.
A Virtual Processor that is implemented in software and runs using the capabilities provided by your operating system and computer hardware.
A.
Byte Code
Byte Code
B.
Compiler
Compiler
C.
Interpreter
Interpreter
D.
Java Virtual Machine(JVM)
Java Virtual Machine(JVM)
Question No# :
14
out of 22
Name the programs that can be developed in such a way that it remains embedded in a web page and runs on the viewer’s machine in a secured manner by Java compatible browsers.
Name the programs that can be developed in such a way that it remains embedded in a web page and runs on the viewer’s machine in a secured manner by Java compatible browsers.
A.
Applets
Applets
B.
Applications
Applications
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No# :
15
out of 22
What is the extension of the byte code in Java?
What is the extension of the byte code in Java?
A.
.java
.java
B.
.class
.class
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No# :
16
out of 22
What was Java initially called?
What was Java initially called?
A.
Oak
Oak
B.
C
C
C.
C++
C++
D.
None of these
None of these
Question No# :
17
out of 22
In which of the following conversions, we can assign a value of larger data type of to a smaller data type?
In which of the following conversions, we can assign a value of larger data type of to a smaller data type?
A.
Explicit Type Conversion
Explicit Type Conversion
B.
Implicit Type Conversion
Implicit Type Conversion
C.
Both A and B
Both A and B
D.
None of These
None of These
Question No# :
18
out of 22
Name the Application program that is written and compiled which may then be executed in any machine provided it contains the JVM.
Name the Application program that is written and compiled which may then be executed in any machine provided it contains the JVM.
A.
Applets
Applets
B.
Applications
Applications
C.
Both a and b
Both a and b
D.
None of these
None of these
Question No# :
19
out of 22
Which among the following is not a valid error in Java?
Which among the following is not a valid error in Java?
A.
Syntax errors
Syntax errors
B.
Logical errors
Logical errors
C.
Run-time errors
Run-time errors
D.
Technical errors
Technical errors
Question No# :
20
out of 22
Which among the following represents a syntax error?
Which among the following represents a syntax error?
A.
Dividing an integer by zero.
Dividing an integer by zero.
B.
Accessing an element that is out of bounds of an array.
Accessing an element that is out of bounds of an array.
C.
Trying to store a value which is incompatible to a certain data-type.
Trying to store a value which is incompatible to a certain data-type.
D.
Missing semicolon
Missing semicolon
Question No# :
21
out of 22
Which of the following is encoding techniques made of 128 characters consisting of letters, digits and special characters?
Which of the following is encoding techniques made of 128 characters consisting of letters, digits and special characters?
A.
UNICODE
UNICODE
B.
ASCII
ASCII
C.
Both A and B
Both A and B
D.
None of these
None of these
Question No# :
22
out of 22
Name the process that converts source code to bytecode.
Name the process that converts source code to bytecode.
A.
Interpretation
Interpretation
B.
Compilation
Compilation
C.
All of these
All of these
D.
None of these
None of these
CCC Online Test 2021
CCC Practice Test Hindi
Python Programming Tutorials
Best Computer Training Institute in Prayagraj (Allahabad)
Best Java Training Institute in Prayagraj (Allahabad)
Best Python Training Institute in Prayagraj (Allahabad)
O Level Online Test in Hindi
Bank SSC Railway TET UPTET Question Bank
career counselling in allahabad
Sarkari Naukari Notification
Best Website and Software Company in Allahabad
Sarkari Exam Quiz