MCQ 511 MarkWhich of the following contains all the other objects of the browser object model within it?A LinkB Form✓ WindowD DocumentAnswerCorrect option: C. WindowWindowView full question & answer→
MCQ 521 MarkWhich of the following is known as global object?✓ WindowB DocumentC FormD LinkAnswerCorrect option: A. WindowWindowView full question & answer→
MCQ 531 MarkWhich of the following is created automatically by the browser?AFormBDocument✓WindowDLinkAnswerCorrect option: C. WindowWindowView full question & answer→
MCQ 541 MarkWhich object of BOM represents the browser window or individual frame within the window?ADocument✓WindowCFormDLinkAnswerCorrect option: B. WindowWindowView full question & answer→
MCQ 551 MarkWhat do we not have to create in a browser object model as they are automatically created when the browser opens the Web page?✓ ObjectB VariableC MethodD All of theseAnswerCorrect option: A. ObjectObjectView full question & answer→
MCQ 561 MarkWhat can be used in the browser object model to change the window or elements displayed in the browser?A The propertiesB Methods of objects✓ a and b bothD None of theseAnswerCorrect option: C. a and b botha and b bothView full question & answer→
MCQ 571 MarkWhat is split into different parts or objects in BOM model?✓ BrowserB Web pageC UsersD Web siteAnswerCorrect option: A. BrowserBrowserView full question & answer→
MCQ 581 MarkWhat is used to control the web browsers window or web pages?✓ BOMB DOMC MOBD OBMAnswerCorrect option: A. BOMBOMView full question & answer→
MCQ 591 MarkWhat is used to control the web browser sometimes?A HTMLB CSS✓ JavaScriptD JScriptAnswerCorrect option: C. JavaScriptJavaScriptView full question & answer→
MCQ 601 MarkWrite a statement to check whether the variable x’ is having null value or not?A if (x= null II x=” ”)✓ if (x=null II x = = ””)C if= x=null II x==” ”D if= x=not nullAnswerCorrect option: B. if (x=null II x = = ””)if (x=null II x = = ””)View full question & answer→
MCQ 611 MarkWhy does ‘if’ statement check expressions?✓ To validate specific condition.B To repeat specific expressions.C a and b bothD None of theseAnswerCorrect option: A. To validate specific condition.To validate specific condition.View full question & answer→
MCQ 621 MarkWhy ‘if” statement is used?A To repeat statements of program.✓ To change the flow of program.C a and b bothD None of theseAnswerCorrect option: B. To change the flow of program.To change the flow of program.View full question & answer→
MCQ 631 MarkWhich statement is used to change the flow of the program?A var✓ IfC ForD WhileAnswerCorrect option: B. IfIfView full question & answer→
MCQ 641 Markwhich kind of statement ‘if’ is?✓ ConditionalB UnconditionalC LoopD FileAnswerCorrect option: A. ConditionalConditionalView full question & answer→
MCQ 651 MarkWrite a statement to give value of input text field which is in jsl form to the variable ‘x’?A x document.js1.name.value;B var x =js1.name.value;✓ var x= document.j1.name.value;D var x = jsl.name;AnswerCorrect option: C. var x= document.j1.name.value;var x= document.j1.name.value;View full question & answer→
MCQ 661 MarkWhich statement is used to give value “Hello Students” for the variable ‘y’ in JavaScript?✓ var y = = “Hello Students”;B ver y = Hello Students;C var y = “Hello Students”;D var y = ‘Hello Students’;AnswerCorrect option: A. var y = = “Hello Students”;var y = “Hello Students”;View full question & answer→
MCQ 671 MarkWhich statement is used to give value 3 for the variable ‘x’ in JavaScript?✓ var x = = 3;B Var x = 3;C x = 3D _= 3AnswerCorrect option: A. var x = = 3;var x = = 3;View full question & answer→
MCQ 681 MarkWhich key word is used to declare a variable in JavaScript?✓ VarB FunctionC VariableD VanAnswerCorrect option: A. VarVarView full question & answer→
MCQ 691 MarkWhich of the following can be stored in variable?A NumbersB StringC Texts✓ All of theseAnswerCorrect option: D. All of theseAll of theseView full question & answer→
MCQ 701 MarkWhat can be said for variable ‘x’ and ‘X’?A They are same.✓ They are different.C It depends on script.D It depends on version.AnswerCorrect option: B. They are different.They are different.View full question & answer→
MCQ 711 MarkWhat can be said for the case of variable in JavaScript?A They are case-sensitive.✓ They are not case-sensitive.C Characters are not part of the variable.D None of theseAnswerCorrect option: B. They are not case-sensitive.They are not case-sensitive.View full question & answer→
MCQ 721 MarkFor which of the following a variable is a container?A Table✓ DataC ScriptD FormAnswerCorrect option: B. DataDataView full question & answer→
MCQ 731 MarkWhat is returned by validate Form0 function according to its statement when name field has a value?A TrueB FalseC On✓1AnswerCorrect option: D. 11View full question & answer→
MCQ 741 MarkWhich of the following value validate Form function returns in the text book?✓ a Or bB-1C FalseD TrueAnswerCorrect option: A. a Or ba Or bView full question & answer→
MCQ 751 MarkThe function validate Form0 will return a value either True or False depending upon which of the following fields in the text book?✓ NameB FormC UnameD FrameAnswerCorrect option: A. NameNameView full question & answer→
MCQ 761 MarkWhich of the following functions is called by on submit0 event handler in text book ?✓ validateForm0B validate0C Form0D vForm0AnswerCorrect option: A. validateForm0validateForm0View full question & answer→
MCQ 771 MarkWhich of the following event handler is used in exempla of Text book?✓ onsubmit0B onclick0C onreturn0D onreset0AnswerCorrect option: A. onsubmit0onsubmit0View full question & answer→
MCQ 781 MarkFor which of the following events is onsubmit0 event handler used?A SubmitB Click✓ ReturnD On returnAnswerCorrect option: C. ReturnReturnView full question & answer→
MCQ 791 MarkWhat is the name of an event?✓ ReturnB onclick0C clickon0D click0AnswerCorrect option: A. ReturnReturnView full question & answer→
MCQ 801 MarkWhich kind of names are and event?A Different✓ SameC Only numericD None of theseAnswerCorrect option: B. SameSameView full question & answer→
MCQ 811 MarkWhen an event occurs, a specific JavaScript code is executed in response to a given situation. What is known as this JavaScript code?✓ Event handlerB EventC a Or bD No of theseAnswerCorrect option: A. Event handlerEvent handlerView full question & answer→
MCQ 821 MarkWhat takes place when the user dose something?A Script✓ EventC CodeD ProgramAnswerCorrect option: B. EventEventView full question & answer→
MCQ 831 MarkThe interaction between which of the following causes the browser to generate an event?✓ User and Web pageB User and KernelC Kernel and Web pageD None of theseAnswerCorrect option: A. User and Web pageUser and Web pageView full question & answer→
MCQ 841 MarkWhat is useful in creating interactive web pages which responds to the action performed by the user?A CSSB JavaC FITML✓ JavaScriptAnswerCorrect option: D. JavaScriptJavaScriptView full question & answer→
MCQ 851 MarkWhat is known as when the user clicks on “Submit” button?✓ EventB Event HandlerC a and b bothD None of theseAnswerCorrect option: A. EventEventView full question & answer→
MCQ 861 MarkWhich function is called on the click event of the submit button in text book?✓ ValidateForm0B Validate 0C Form 0D V Form 0AnswerCorrect option: A. ValidateForm0ValidateForm0View full question & answer→
MCQ 871 MarkIf the function returns a value, then which statement is used preceding a function?A Not null✓ ReturnC ValueD TrueAnswerCorrect option: B. ReturnReturnView full question & answer→
MCQ 881 MarkWhat is called the value passed to the function?✓ ParameterB VariableC ConstantD ValueAnswerCorrect option: A. ParameterParameterView full question & answer→
MCQ 891 MarkI Values written in which of the following sent as a parameters of function?A In single quotation (‘‘)✓ In bracket ()C In double quotation (““)D In curly brackets ({})AnswerCorrect option: B. In bracket ()In bracket ()View full question & answer→
MCQ 901 MarkIn which of the following ones does the function accept values?A In single quotation (‘‘)✓ In bracket ()C In double quotation (““)D In curly brackets ({})AnswerCorrect option: B. In bracket ()In bracket ()View full question & answer→
MCQ 911 MarkWhich of the following is called by its name and it takes a value inside the parenthesis?✓ FunctionB ScriptC CSSD All of theseAnswerCorrect option: A. FunctionFunctionView full question & answer→
MCQ 921 MarkIn which of the following sections can the HTML function be defined?A HeadB Body✓ a Or bD ScriptAnswerCorrect option: C. a Or ba Or bView full question & answer→
MCQ 931 MarkFrom where can the function be called from within the source code?A Upper sideB Down side✓ Any whereD Cannot be calledAnswerCorrect option: C. Any whereAny whereView full question & answer→
MCQ 941 MarkWhen will the function be executed?A By an eventB When it is called inside a source code.✓ a and b bothD None of theseAnswerCorrect option: C. a and b botha and b bothView full question & answer→
MCQ 951 MarkWhat will be displayed when the function alert (”Hello Students”) is called ?✓ An alert box with the message “Hello Students”B “Hello Students” message with animationC “Hello Students” message will blink.D None of theseAnswerCorrect option: A. An alert box with the message “Hello Students”An alert box with the message “Hello Students”View full question & answer→
MCQ 961 MarkWhich of the following functions takes the text and displays it in an alert box?✓ Alert 0B Prompt 0C ftmction0D form0AnswerCorrect option: A. Alert 0Alert 0View full question & answer→
MCQ 971 MarkWhich of the following is an inbuilt function?A validateForm0✓ alert0C a and b bothD None of theseAnswerCorrect option: B. alert0alert0View full question & answer→
MCQ 981 MarkWhich of the following has the block of code written inside?A Square bracket ([])✓ Curly bracket (Q)C Round brackets ({})D None of theseAnswerCorrect option: B. Curly bracket (Q)Curly bracket (Q)View full question & answer→
MCQ 991 MarkWhich keyword is used to define a function?A ScriptB Junction✓ FunctionD Java functionAnswerCorrect option: C. FunctionFunctionView full question & answer→
MCQ 1001 MarkWhat is a reusable block of code that performs a particular task?A FunctionB Routine✓ a Or bD ScriptAnswerCorrect option: C. a Or ba Or bView full question & answer→