iitm computr education mathura


O-LEVEL Web Designing  MCQ 2023(M2-R2)

(Java Script)


1. ______ page is the first page and provides labeled links to the other web pages.
A. Hyper
B. Main
C. Home
D. Content

ANSWER: C

2. Javascript is _________ language.

A. programming
B. application
C. script
D. text

ANSWER: C


3. A conditional expression is also called a _______.
A. Alternative to if-else
B. Immediate if
C. if-then-else statement
D. None of the above

ANSWER: B



4. Which of the following language is used to write animation and games in browser ?
A. C
B. C++
C. Java
D. Basic
ANSWER: C



5. The <H>:</H> headline font size range is ______.
A. 1 to 7
B. to 12
C. to 24
D. to 50
ANSWER: A

6. The tag used in HTML to link it with other URL’s is _______.
A. <A>
B. <H>
C. <U>
D. <L>
ANSWER: A



7. The _______ is a conceptual layout device that organizes the page into columns and rows.
A. table
B. grid
C. matix
D. line
ANSWER: B



8. A table is divided into rows with the ______ tag.
A. <table>
B. <tr>
C. <td>
D. <th>

ANSWER: B



9. Each row is divided into data cells with the _____ tag.
A. <table>
B. <tr>
C. <td>
D. <th>

ANSWER: C



10. A ______ tag can contain text, links, images, lists, forms, other table, etc.
A. <table>
B. <tr>
C. <td>
D. <th>
ANSWER: C



11. Header information in a table are defined with the ______ tag.
A. <table>
B. <tr>
C. <td>
D. <th>
ANSWER: D



12. The ______ tag groups the body content in a table.
A. <table>
B. <tb>
C. <tbody>
D. <tbgroup>
ANSWER: C



13. The _____ tag groups the header content in a table.
A. <table>
B. <thead>
C. <thgroup>
D. <th>
ANSWER: B



14. A _______ can contain input elements like text fields, checkboxes, radio buttons, submit buttons and
more.
A. form
B. image
C. document
D. report
ANSWER: A



15. The _____ tag defines the relationship between a document and an external resource.
A. <src>
B. <href>
C. <anchor>
D. <link>
ANSWER: D



16. The ______ tag is most used to link to style sheets.
A. <style>
B. <href>
C. <link>
D. <css>
ANSWER: C



17. The ______ element holds two or more frame elements.
A. frameset
B. frame
C. frmbody
D. Frmelement
ANSWER: A



18. The _____ tag creates a holding space for the referenced image.
A. <image>
B. <img>
C. <src>
D. <link>
ANSWER: B



19. The <img> tag has two required attributes, _____ and _____.
A. a and src
B. href and a
C. src and alt
D. href and alt
ANSWER: C



20. Frames are created via the _____ tags in an HTML document.
A. <frameset>..</frameset>
B. <form>..</form>
C. <body>..</body>
D. <head>..</head>
ANSWER: A



21. The _______ tag provides a way to create numbered or alphanumeric lists rather than bullets.
A. <UL>:</UL>
B. <OL>:</OL>
C. <LI>:</LI>
D. <I>:</I>
ANSWER: B



22. Scripting languages such as ______ provide a greater level of control over audio playback.
A. Lingo and Action Script
B. HTML and JavaScript
C. VB Script and JavaScript
D. DHTML and XML
ANSWER: C



23. JavaScript is ______ in nature.
A. static
B. standalone
C. dynamic
D. does not change
ANSWER: C



24. The ______________ is responsible for running JavaScript code.
A. computer
B. browser
C. plug-ins
D. tools
ANSWER: B



25. In HTTPS “S”is stands for__________
A. Simple
B. Secured
C. Service
D. Store
ANSWER: B



26. The _______ is the escape character for javaScript
A. *
B. \
C. +
D. _
ANSWER: B



27. ________ are formed when literals and variables linked by operators.
A. Statements
B. Operators
C. Expressions
D. Values
ANSWER: C



28. A _______ is a group of java script statements that performs a specified task.
A. Control statements
B. looping statements
C. functions
D. conditional statements
ANSWER: C



29. __________is a very powerful client-side scripting language
A. JavaScript
B. VB Script
C. PHP
D. Perl
ANSWER: A



30. JavaScript is ______.
A. subjective
B. objective
C. evil
D. object based
ANSWER: D



31. To comment out a line in JavaScript _______.
A. precede it with two forward slashes, i.e. ‘//’
B. precede it with an asterisk and a forward slash, i.e. ‘*/’
C. precede it with an asterisk, i.e. ‘*’
D. precede it with a forward slash and an asterisk, i.e ‘/*’
ANSWER: A



32. Which one is the client-side JavaScript object?
A. Database
B. Cursor
C. Client
D. FileUpload
ANSWER: D



33. The four basic data types are ______.
A. strings, numbers, BooBoos and nulls
B. strings, text, Boolean, and nulls
C. strings, numbers, Boolean and nulls
D. strings, numbers, Boolean, and zeros
ANSWER: C



34. Scripting language are ______.
A. High level Programming language
B. Assembly level programming language
C. Machine level programming language
D. Low level programming language
ANSWER: A



35. What should appear at the very end of your JavaScript?
A. The </script>
B. The <script>
C. The END statement
D. None of the above
ANSWER: A



36. Which of the following are capabilities of functions in JavaScript?
A. Return a value
B. Accept parameters and Return a value
C. Accept parameters
D. None of the above

ANSWER: A



37. Which of the following is not a valid JavaScript variable name?
A. 2names
B. _first_and_last_names
C. FirstAndLast
D. None of the above

ANSWER: A



38. What is the correct JavaScript syntax to write “Hello World”>
A. System.out.println(“Hello World”)
B. println(“Hello World”)
C. document.write(“Hello World”)
D. response.write(“Hello World”)

ANSWER: C



39. Inside which HTML element so we put the JavaScript?
A. <js>
B. <scripting>
C. <script>
D. <javascript>
ANSWER: C



40. JavaScript entities start with ______ and end with _______.
A. Semicolon, colon
B. Semicolon, ampersand
C. Ampersand, colon
D. Ampersand, semicolon

ANSWER: D



41. A computer on internet are identified by__________________
A. e-mail address
B. network address
C. IP address
D. server address

ANSWER: C



42. Which of the following is not considered a JavaScript operator?
A. new
B. this
C. delete
D. typeof

ANSWER: B



43. JavaScript is interpreted by _______.
A. Client
B. Server
C. Object
D. None of the above

ANSWER: A



44. Using ______ statement is how you test for a specific condition
A. select
B. if
C. switch
D. for

ANSWER: B



45. Which tag is used to display preformatted texts in HTML?
A. <pre> .. </pre>
B. <prefor> .. </prefor>
C. <pre text> .. </pre text>
D. <pre format> .. </pre format>

ANSWER: A

46. Which of the following is correct to align H1 tag to Right Alignment?
A. <h1 align = “right”> .. </h1>
B. <h1 alignment = “right”> .. </h1>
C. <h1 tag align=”right”> .. </h1>
D. H1 cannot make Right Alignment
ANSWER: A



47. Which of the following is correct to change font face in Web page?
A. <font=”font name”> .. </font>
B. <font name=”font name”> .. </font>
C. <font face=”font name”> .. </font>
D. Font face cannot change

ANSWER: C



48. <b> tag makes the enclosed text bold. What is other tag to make text bold?
A. <strong>
B. <dar>
C. <black>
D. <emb<

ANSWER: A


49. _______ JavaScript is also called as Client-side JavaScript
A. Microsoft
B. Navigator
C. Livewire
D. Native

ANSWER: B

Client-side JavaScript is the name given to JavaScript code that is embedded within an HTML file and executed by a web browser.


50. _______ JavaScript is also called as Server-side JavaScript.
A. Microsoft
B. Navigator
C. Livewire
D. Native

ANSWER: C

Live wire JavaScript is also called server-side JavaScript. LiveWire is an application development environment that uses JavaScript for creating server-based applications and Therefore it is called as server-side JavaScript.

51). _____________ are the applications of IOT

A.House

B.Virtual environment

C.Regional office

D.All of the above



Ans. D

52). ___________ are the main components in IOT

A.Low power embedded systems

B.Cloud computing

C.Availability of big data, networking connection

D.All of the above



Ans. D

53). ___________ are the characteristics of IOT

A.Intelligence, scalable

B.Security

C.Heterogeneity

D.All of the above

Ans. 4


54). The IPV4 developed in __________

A.1974

B.1980

C.2000

D.None of the above

Ans. A



55). The IPV6 developed in __________

A.1998

B.1980

C.2000

D.None of the above

ANSWER: A

IPv6 was developed by the Internet Engineering Task Force (IETF) to deal with the long-anticipated problem of IPv4 address exhaustion, and is intended to replace IPv4. In December 1998, IPv6 became a Draft Standard for the IETF, which subsequently ratified it as an Internet Standard on 14 July 2017.



56). The bit length of the IPV4 is _________

A.8 bits

B.16 bits

C.32 bits

D.128 bits

Ans.C



57). The bit length of the IPV6 is _________

A. 8 bits

B. 16 bits

C.32 bits

D.128 bits

Ans. D



58). The number of addresses in IPV4 is __________

A.2^4

B.2^8

C.2^32

D.2^128

Ans. C


59). The number of addresses in IPV6 is __________

A.2^4

B.2^8

C.2^32

D.2^128

Ans. D


60). The IPV4 has a ____________ notation for addressing

A.Dotted decimals

B.Hexadecimal

C.Both a and b

D.None of the above

Ans. A


61). The IPV6 has a ____________ notation for addressing

A.Dotted decimals

B.Hexadecimal

C.Both a and b

D.None of the above

Ans. B

Post a Comment

Thnanks for Reply.

और नया पुराने