You are on page 1of 5

Name

RTWO Healthcare Solutions


Address
No.117, West Of Chord Road, Mahalakshmi Puram,
Near RajajiNagar 1st Block Signal, Bengaluru, Phone
Karnataka 560086 Email

Multiple Choice Question


1) JavaScript is _________ language.? 2) JavaScript is designed for following purpose?
□ Programming □ To Style HTML Pages
□ Application □ To add interactivity to HTML Pages
□ None of These □ To Perform Server Side Scripting
□ Scripting Operation
□ To Execute Query Related to DB on
Server
3) JavaScript Code is written inside file 4) Why JavaScript is called as Lightweight
having extension __________. Programming Language?
□ .jvs □ Because JS is available free of cost.
□ .javascript □ because JS is client side scripting
□ .js □ because we can add programming
□ .jsc functionality inside JS
□ Because JS can provide programming
functionality inside but up to certain extend.
5) State the correct place of JS Code inside 6) JavaScript Statements are executed by
HTML ________.
□ Inside Body □ Server
□ Inside Head □ JVM
□ Inside Single JavaScript File □ Compiler
□ All of these □ Browser
7) ____________ is used to assign value to 8) Variable can hold ________ value at a time
the variable □ None of these
□ Assignment Statement □ Multiple
□ Declaration Statement
□ Double
□ Conditional Statement
□ Single
□ Executable Statement
9) We can declare all type of variables in 10) "Add and Assignment" operator is shown by
JavaScript with the keyword this symbol.
_____________. □ +==
□ var □ +=
□ None of these
□ ==+
□ obj
□ =+
□ jvar
11) Which of the following tag is used to 12) Correct HTML tag for the largest heading is
mark a beginning of paragraph? □ <head>
□ <TD> □ <h6>
□ <br>
□ <heading>
□ <P>
□ <h1>
□ <TR>
13) Markup tags tell the web browser 14) Correct HTML to left align the content inside
□ How to organise the page a table cell is
□ How to display the page
□ <tdleft>
□ How to display message box on
□ <td raligh = "left" >
page □ <td align = "left">
□ None of these □ <td leftalign>
15) How can you open a link in a new 16) Which HTML attribute is used to define
browser window? inline styles?
□ < a href = "url" target = "new"> □ font
□ <a href = "url" target= "_blank"> □ class
□ <a href = "url".new> □ styles
□ <a href = "url" target ="open"> □ style
17) Which is the correct CSS syntax? 18) How do you change the text color of an
□ body {color: black} element?
□ {body;color:black}
□ text-color=
□ {body:color=black(body}
□ fgcolor:

□ body:color=black
□ color:
□ text-color:
19) How do you make the text bold? 20) Where in an HTML document is the correct
□ font:b place to refer to an external style sheet?
□ font-weight:bold
□ At the end of the document
□ style:bold
□ In the <head> section

□ None of these
□ At the top of the document
□ In the <body> section
21) In Java arrays are 22) Which one of the following is a valid
□ objects statement?
□ object references
□ char[] c = new char();
□ primitive data type
□ char[] c = new char[5]; 

□ None of the above


□ char[] c = new char(4);
□ char[] c = new char[];
23) Size of float and double in Java is 24) int x = 0, y = 0 , z = 0 ;
□ 32 and 64 x = (++x + y-- ) * z++;
What will be the value of "x" after execution ?
□ 64 and 64
□ 32 and 32 □ -1 
□ 64 and 32 □ 0
□ 1
25) int ++a = 100 ; 26) What will be the output?
System.out.println( ++a ) ; int a=20, b=10;
What will be the output of the above if((a < b) && (b++ < 25)){
fraction of code ? System.out.println("This is any language
□ 100 logic");
}
□ Displays error as ++a is not System.out.println(b);
enclosed in double quotes in println □ 12
statement
□ Compiler displays error as ++a is
□ 11
not a valid identifier □ 10
□ None of these □ Compilation Error
27) Which of the following is the correct 28) What will be the return type of a method that
expression that evaluates to true if the not returns any value?
number x is between 1 and 100 or the □ void
number is negative?
□ 1 < x < 100 || x < 0 □ int

□ ((x < 100) && (x > 1)) || (x < 0)


□ double

□ ((x < 100) && (x > 1)) && (x <


□ None of the above
0)
□ (1 > x > 100) || (x < 0)
29) What is Math.floor(3.6)? 30) ____ method cannot be overridden.
□ 3.0 □ super
□ 3 □ static
□ 4 □ final
□ 4.0 □ private
Question 31:Write a logic to findFibonacci Series in without using recursion
Question 32:Write a logic to check whether the string palindrome or not

You might also like