100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Interview

Advanced Java Questions with Answers for Preparations

Rating
-
Sold
-
Pages
6
Uploaded on
26-02-2022
Written in
2022/2023

Almost all questions related to advanced java for exam preparation.

Institution
Module









Whoops! We can’t load your doc right now. Try again or contact support.

Connected book

Written for

Institution
Secondary school
School year
4

Document information

Uploaded on
February 26, 2022
Number of pages
6
Written in
2022/2023
Type
Interview
Company
Unknown
Person
Unknown

Subjects

Content preview

1




Advanced JavaScript
Question Answers

There are various scripting languages that can be used to create dynamic websites.
JavaScript is one such interpreted scripting language as it executes its instructions
directly and freely without compiling machine language instructions.


What is platform independent software?
Ans.Software that can run on any hardware platform (PC, Mac, SunSparc etc.) or software
platform (Windows, Linux, Mac OS etc.) is called platform independent software. JavaScript
is a platform independent scripting language.


Why is JavaScript known as the universal client side scripting language?
Ans.Any JavaScript enabled browser can understand and interpret JavaScript code.
Due to different features, JavaScript is known as a universal client side scripting language.


Write any five features of JavaScript language.
Ans.JavaScript is a lightweight scripting language because it does not support all features of
object oriented programming languages.No need for special software is required to run
JavaScript programs.JavaScript is an object oriented scripting language and it supports
event based programming.It is a case sensitive language.JavaScript helps the browser to
perform input validation without wasting the user’s time by the web server access.It can
handle date and time very effectively.Most of the JavaScript control statements syntax is
same as the syntax of control statements in other programming languages.JavaScript
language provides the ability to create new functions within scripts.A function can be
declared in JavaScript using “function” keyword.JavaScript is a platform independent
scripting language.Any JavaScript-enabled browser can understand and interpreted
JavaScript code. Due to different features, JavaScript is known as universal client side
scripting language.

What are different types of scripting?
Ans.Server side scripting and Client side scripting.Client-side Scripting: the script resides on
a client computer (browser) and can run on the client.Server-side Scripting: the script resides
on a web server.

What is Client-side scripting in JavaScript?
Ans.Client-side Scripting:The script resides on a client computer (browser) and that can run
on the client.These types of scripts are placed inside an HTML document.

What is Server side scripting in JavaScript?
Ans.Server side scripting:The script resides on a web server.To execute the script it must be
activated by the client, and then it is executed on the web server.

, 2



How does the Switch case structure work?
The switch statement tests the value of a given expression against a list of case values.
When a match is found, a block of statements associated with that case is executed.


Why should there not be duplicity between the Switch cases?
Ans.The switch statement tests the value of given expression against a list of case values
When a match is found, a block of statements associated with that case is executed. Thus,
there should not be duplicity between the cases.

What is the syntax for Switch Case Statement?
Ans.

switch(expression)

{

case value1:

statement block 1;

break;

case value2:

statement block 2;

break;

………………………

case value n:

statement block n;

break;

default:

statement block;

}




What is a Looping Statement?
Ans. These are used to execute statements repeatedly while creating programming logic.

Available practice questions

$4.00
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
vishalrawat1

Get to know the seller

Seller avatar
vishalrawat1
Follow You need to be logged in order to follow users or courses
Sold
0
Member since
3 year
Number of followers
0
Documents
3
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Frequently asked questions