Web System Reviewer PDF
Document Details
Uploaded by Deleted User
Tags
Summary
This document is an exam paper containing questions on Web System Reviewer topics, primarily focusing on HTML, CSS, and JavaScript. It's a good resource for studying these core technologies for web development.
Full Transcript
Question 1 1 / 1 pts What is the correct HTML for adding a background color? yellow Question 2 1 / 1 pts Which HTML element defines navigation links? Question 3 1 / 1 pts A function with no return value is called ________. Method Dynamic function Static function Procedures Ques...
Question 1 1 / 1 pts What is the correct HTML for adding a background color? yellow Question 2 1 / 1 pts Which HTML element defines navigation links? Question 3 1 / 1 pts A function with no return value is called ________. Method Dynamic function Static function Procedures Question 4 1 / 1 pts Which HTML attribute is used to define inline styles? style styles font class Question 5 1 / 1 pts Which of the following is not considered as an error in JavaScript? All of the mentioned Division by zero Syntax error Missing of semicolons Question 6 1 / 1 pts How do you add a background color for all elements? all.h1 {background-color:#FFFFFF;} h1 {background-color:#FFFFFF;} h1 {bg-color:#FFFFFF;} h1.all {background-color:#FFFFFF;} Question 7 0 / 1 pts Which HTML element is used to specify a header for a document or section? Question 8 1 / 1 pts What does HTML stand for? Hyperlinks and Text Markup Language Home Tool Markup Language Hyper Tool Markup Language Hyper Text Markup Language Question 9 1 / 1 pts What is the correct HTML for inserting a background image? Question 10 0 / 1 pts How do you make a list that lists its items with squares? list-style-type: square; list: square; list-style: square; list-type: square; Question 11 1 / 1 pts What is the correct HTML for inserting an image? image.gif Question 12 1 / 1 pts Which is a more efficient code snippet ? Code 1 : for(var num=10;num>=1;num–-) { document.writeln(num); } Code 2 : var num=10; while(num>=1) { document.writeln(num); num++; } Cannot Compare Code 1 Both Code 1 and Code 2 Code 2 Question 13 1 / 1 pts What is the correct HTML for creating a hyperlink? T.I.P.Schools T.I.P.Schools.com T.I.P.Schools.com http://www.tip.edu.ph Question 14 1 / 1 pts Which property is used to change the font of an element? font-style font-family font-weight fontstyle-family Question 15 1 / 1 pts The statement a===b refers to ____________. Both a and b are equal in value and type There is no such statement Both a and b are equal in value Both a and b are equal in value, type and reference address Question 16 1 / 1 pts Which of the following function of Array object returns the first (least) index of an element within the array equal to the specified value, or -1 if none is found? lastIndexOf() indexOf() join() map() Question 17 0 / 1 pts A proper scripting language is a ________. Assembly level programming language High level programming language Low level programming language Machine level programming language Question 18 1 / 1 pts Is JavaScript a case-sensitive language? True False Question 19 1 / 1 pts How do you select an element with id 'demo'? *demo.demo #demo demo Question 20 1 / 1 pts Which of the following function of String object returns the index within the calling String object of the last occurrence of the specified value? search() indexOf() lastIndexOf() substr() Question 21 1 / 1 pts Which of the following function of Number object returns a string value version of the current number in a format that may vary according to a browser's locale settings.? toLocaleString() toExponential() toFixed() toString() Question 22 1 / 1 pts Choose the correct HTML element to define emphasized text Question 23 1 / 1 pts Which is the correct CSS syntax? {body:color=black;} body {color: black;} {body;color:black;} body:color=black; Question 24 1 / 1 pts Among the following, which one is a ternary operator? ?: : – + Question 25 1 / 1 pts JavaScript can be written all of the mentioned directly into JS file and included into HTML directly on the server page directly into HTML pages Question 26 1 / 1 pts What is the correct HTML element for inserting a line break? Question 27 1 / 1 pts Which built-in method sorts the elements of an array? change(order) sort() changeOrder(order) order() Question 28 1 / 1 pts How to create a checkbox in HTML? Question 29 0 / 1 pts Which of the following function of Array object reverses the order of the elements of an array? reduceRight() push() reduce() reverse() Question 30 0 / 1 pts The escape sequence ‘\f’ stands for _________. Floating numbers Representation of functions that returns a value \f is not present in JavaScript Form feed Question 31 1 / 1 pts How do you insert a comment in a CSS file? // this is a comment // // this is a comment ' this is a comment Question 32 1 / 1 pts Where in an HTML document is the correct place to refer to an external style sheet? In the section At the end of the document In the section In the section Question 33 1 / 1 pts JavaScript Code can be called by using ________. Triggering Event RMI Preprocessor Function/Method Question 34 0 / 1 pts Which of the following type of variable is visible only within a function where it is defined? Parameter global variable local variable global and local variables Question 35 1 / 1 pts Which CSS property controls the text size? text-style font-style font-size text-size Question 36 0 / 1 pts The unordered collection of properties, each of which has a name and a value is called _________. Serialized Object All of the mentioned Object String Question 37 1 / 1 pts How do you select elements with class name 'test'?.test test *test #test Question 38 0 / 1 pts What is the correct CSS syntax for making all the elements bold? p {text-size:bold;} p {font-weight:bold;} Question 39 1 / 1 pts What is the correct HTML for making a text input field? Question 40 1 / 1 pts Which property is used to change the background color? background-color color bgcolor background:color Question 41 0 / 1 pts Which character is used to indicate an end tag? ^ / < * Question 42 1 / 1 pts What does CSS stand for? Cascading Style Sheets Creative Style Sheets Computer Style Sheets Colorful Style Sheets Question 43 1 / 1 pts Which HTML tag is used to define an internal style sheet? Question 44 0 / 1 pts Which of the following function of String object returns the calling string value converted to upper case? substring() toLocaleUpperCase() toString() toUpperCase() Question 45 1 / 1 pts Choose the correct HTML element to define important text Question 46 1 / 1 pts The snippet that has to be used to check if “a” is not equal to “null” is _________. if(a!=null) if(a!==null) if(a!null) if (!a) Question 47 1 / 1 pts How do you group selectors? Separate each selector with a comma Separate each selector with a plus sign Separate each selector with a space Separate each selector with dash sign Question 48 1 / 1 pts Can you pass a anonymous function as an argument to another function? True False Question 49 1 / 1 pts Choose the correct HTML element for the largest heading: Question 50 1 / 1 pts Which of these elements are all elements? Question 1 1 / 1 pts Which plugin is used to create a modal window? modal popup dialog Box window Question 2 1 / 1 pts Which of the following class styles a table as a nice basic table with stripes on rows?.table.table-hover.table-striped.table-bordered Question 3 1 / 1 pts Which of the following bootstrap style of button indicates caution should be taken with this action?.btn-info.btn-link.btn-warning.btn-danger Question 4 1 / 1 pts Bootstrap is developed by Mark Jukervich None of them James Gosling Mark Otto and Jacob Thornton Question 5 1 / 1 pts Which class creates pagination? pagination-link pagination pager link-pagination Question 6 1 / 1 pts Which of the following class applies the hover color to a particular row or cell of a table?.warning.active.success.danger Question 7 1 / 1 pts Which of the following class makes thumbnail image.img-thumbnail.img-thumbnail-image.img-thumb.img-tmbnail Question 8 1 / 1 pts Which of the following bootstrap style helps to combine sets of into a for more complex components?.btn-group.btn-toolbar.btn-group-lg.btntoolbar Question 9 0 / 1 pts Which of the following bootstrap style helps to combine sets of into a for more complex components?.btn-group.btn-group-vertical.btn-toolbar.btn-group-lg Question 10 0 / 1 pts Which of the following bootstrap style helps to combine sets of into a for more complex components?.btn-group.btn-toolbar.btn-group-vertical.btn-group-lg Question 11 1 / 1 pts Which class creates list of items? list-group menu-group lst-group list-grp Question 12 0 / 1 pts Which of the following bootstrap style is used to align.nav links, forms, buttons, or text to left or right in a.navbar?.alignment.navbar-align.navbar-left,.navbar-right.navbar-alignment Question 13 1 / 1 pts Which of the following is correct about data-selector Data attribute of Popover Plugin? Applies a CSS fade transition to the popover. Delegates to the specified targets. Specifies how to position the popover (i.e., top|bottom|left|right|auto). Inserts HTML into the popover. If false, jQuery's text method will be used to insert content into the dom. Question 14 1 / 1 pts Default size of H5 bootstrap heading 14px 18px 16px 20px Question 15 1 / 1 pts Which of the following bootstrap styles are used to create a pills navigation?.nav,.nav-tabs,.nav-justified.nav,.nav-pills.nav,.nav-tabs.nav,.nav-pills,.nav-stacked Question 16 1 / 1 pts Which of the following bootstrap style of button indicates caution should be taken with this action?.btn-info.btn-warning.btn-link.btn-danger Question 17 1 / 1 pts Bootstrap is a free front-end framework. True False Question 18 1 / 1 pts Which of the following class makes round corner image?.img-rounded.img-round-corner.img-rnd.img-circle Question 19 1 / 1 pts Which class indicates a dropdown menu?.dropdown.select.dropdown-list.drop Question 20 1 / 1 pts Which plugin is used to create a tooltip? dialog Box tooltip modal popup Question 21 0 / 1 pts A standard navigation tab is created with: Question 22 1 / 1 pts Which of the following is the default layout of a bootstrap form? none of the choices vertical.inline.horizontal Question 23 0 / 1 pts Which of the following bootstrap styles can be used to create a Stacked progress bar?.prog-stack.progress-stack.progress-stacked.progress Question 24 1 / 1 pts Select all elements that contain the specified text. :selectsText() :selects() and :contains() :contains() :selects() Question 25 0 / 1 pts Which of the following jQuery method sets the text of an element? setText( val ) set( val ) text( val ) setContent( val ) Question 26 1 / 1 pts What is the correct jQuery code for making all div elements 100 pixels high? None $(“div”).height(100) $(“div”).yPos(100) $(“div”).height=”100 Question 27 1 / 1 pts What are the methods used to provide effects? All of these Hide() Show() Toggle() Question 28 1 / 1 pts Which jQuery method is used to switch between adding/removing one or more classes (for CSS) from selected elements? switch() altClass() switchClass() toggleClass() Question 29 1 / 1 pts The __________method is like offset(), except that it is a getter only and it returns element positions relative to their offset parent, rather to the document as a whole. position() offsetparent() setparent() width() Question 30 1 / 1 pts jQuery method is used to perform an asynchronous HTTP request? jQuery.ajaxSetup() jQuery.ajax() jQuery.ajaxAsync() None Question 31 1 / 1 pts Which of the following jQuery method loads a remote page using an HTTP request? serialize( ) Query.ajax( options ) jQuery.ajaxSetup( options ) serializeArray( ) Question 32 1 / 1 pts Which of the following jQuery method checks the current selection against an expression? getIs( selector ) is( selector ) checkIs( selector ) checkI.selectors( ) Question 33 1 / 1 pts Which jQuery method is used to hide selected elements? hide() visible(false) hidden() display(none) Question 34 1 / 1 pts Using ________ function, we can hold or release the execution of jQuery’s ready event. jQuery.holdready() jQuery.holdReady() jQuery.ready() jQuery.hold() Question 35 1 / 1 pts Which sign does jQuery use as a shortcut for jQuery? $ sign None % sign ? Sign Question 36 1 / 1 pts $.foo() is equivalent to javascript.foo() jQuery.foo() document.foo() None Question 37 1 / 1 pts Which of the following is used for parsing JSON text? jQuery.each() jQuery.parseJSON() jQuery.noConflict() jQuery(noConflict) Question 38 1 / 1 pts Which built-in method calls a function for each element in the array? forEachloop() while() loop() forEach() Question 39 1 / 1 pts Which of the following is a single global function defined in the jQuery library? jQuery() $() None of the mentioned Queryanalysis() Question 40 1 / 1 pts Which of the following jQuery method returns true if the specified class is present on at least one of the set of matched elements? hasStyleClass( class ) hasClass( class ) hasCSSClass( class ) hasStyleClass Question 41 1 / 1 pts Which built-in method returns the character at the specified index? characterAt() None charAt() getCharAt() Question 42 1 / 1 pts Which of the following jQuery method can be used to make a ajax call? load( url, [data], [callback] ) reload.data(url, [data], [callback] ) reload(url, [data], [callback] ) ready(url, [data], [callback] ) Question 43 1 / 1 pts With jQuery, look at the following selector: $(“div.intro”). What does it select? All div elements with class=”intro” The first div element with id=”intro” The first div element with class=”intro” All div elements with id=”intro” Question 44 1 / 1 pts What does the min mean? Minimised version Minimised parameters Minimum value Miniature Question 45 1 / 1 pts Which of the following jQuery method gets the inner height (excluding the border) of an element? getHeight( ) getCSSHeight( ) innerHeight( ) getInnerHeight( ) IncorrectQuestion 46 0 / 1 pts ______________ takes a selector as its argument and returns true if at least one of the selected elements also matches the specified selector. index() is() each() map() Question 47 0 / 1 pts Which of the following jQuery method returns the outer width (including the border) of an element? get(Width ) outerWidth( [margin] ) getWidth( ) getCSSWidth( ) Question 48 0 / 1 pts The______ method is used to represent an array or an object in serialize manner. param() size() size(length) length Question 49 1 / 1 pts Get the value of a style property for the first element in the set of matched elements. None.css().style() Both.style and.css Question 50 1 / 1 pts jQuery code to set the background color of all span elements to blue? $(“span”).css(“background-color”,”blue”); $(“span”).layout(“background-color”,”blue”); $(“span”).style(“background-color”,”blue”); $(“span”).manipulate(“background-color”,”blue”);