![Mcqmate logo](https://mcqmate.com/images/logos/logo-black.png)
![Mcqmate logo](https://mcqmate.com/images/logos/logo-white.png)
McqMate
Chapters
201. |
-----tag is used to for indicating the head section of the html document. |
A. | <body> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» C. <head> |
202. |
------tag is used to define the document body. |
A. | <body> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» A. <body> |
203. |
-----tag is used to center align text. |
A. | <body> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» D. <center> |
204. |
-----tag is used to give the space in between to word or character . |
A. | <&nbps> |
B. | <title> |
C. | <head> |
D. | <center> |
Answer» A. <&nbps> |
205. |
-----is a high-level scripting language that is synchronous with client-side
|
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
206. |
----- a versatile language of the front-end that is mainly used to make web
|
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
207. |
-------was originally developed to perform client-side functions |
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
208. |
--- a versatile programming language which is specially designed to build
|
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
209. |
----one of the most powerful programming languages used to create
|
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
210. |
-----is specifically designed to build interactive web interfaces and create
|
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
211. |
------is the scripting language designed primarily for adding interactively to web
|
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
212. |
A -----scripting is a light weight programming language |
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
213. |
------is very fast because it can be run immediately within the client-side browser |
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
214. |
------is relatively simple to learn and implement. |
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
215. |
Client side------does not allow the reading and writing of files. |
A. | java script |
B. | php |
C. | oracle |
D. | none of these |
Answer» A. java script |
216. |
In HTML, JavaScript code is inserted betweent-----and </script> tags |
A. | script |
B. | VER |
C. | TITLE |
D. | none of these |
Answer» A. script |
217. |
To access an HTML element, JavaScript can use the------method. |
A. | document.getElementById(id |
B. | CONSOLE |
C. | COUT |
D. | none of these |
Answer» A. document.getElementById(id |
218. |
--------Is used to show the out put or give message |
A. | document.write(): |
B. | printf |
C. | COUT |
D. | none of these |
Answer» A. document.write(): |
219. |
For debugging purposes, you can call the ----method in the browser to display
|
A. | document.write(): |
B. | CONSOLE.LOG() |
C. | COUT() |
D. | none of these |
Answer» B. CONSOLE.LOG() |
220. |
----this key word is used to declared the variable in java script. |
A. | document.write(): |
B. | CONSOLE.LOG |
C. | var |
D. | none of these |
Answer» C. var |
221. |
-----this key word is used to declared the constant in java script. |
A. | document.write(): |
B. | CONST |
C. | var |
D. | none of these |
Answer» B. CONST |
222. |
-------it is assignment operator is used to assign value from right hand side to left
|
A. | document.write(): |
B. | CONST |
C. | = |
D. | none of these |
Answer» C. = |
223. |
------it is assignment operator is used to not equal value. |
A. | document.write(): |
B. | CONST |
C. | = |
D. | !== |
Answer» D. !== |
224. |
in java script------are written with quotes. You can use single or double quotes. |
A. | document.write(): |
B. | STRING |
C. | = |
D. | !== |
Answer» B. STRING |
225. |
in java script------items are separated by commas. |
A. | document.write(): |
B. | STRING |
C. | array |
D. | !== |
Answer» C. array |
226. |
Which type of JavaScript language is ___ |
A. | Object-Oriented |
B. | Object-Based |
C. | Assembly-language |
D. | High-level |
Answer» B. Object-Based |
227. |
Which one of the following also known as Conditional Expression: |
A. | Alternative to if-else |
B. | Switch statement |
C. | If-then-else statement |
D. | immediate if |
Answer» C. If-then-else statement |
228. |
The "function" and " var" are known as |
A. | Keywords |
B. | Data types |
C. | Declaration statements |
D. | Prototypes |
Answer» C. Declaration statements |
229. |
Which of the following variables takes precedence over the others if the names
|
A. | Global variable |
B. | The local element |
C. | The two of the above |
D. | None of the above |
Answer» B. The local element |
230. |
Which one of the following is the correct way for calling the JavaScript code? |
A. | Preprocessor |
B. | Triggering Event |
C. | RMI |
D. | Function/Method |
Answer» D. Function/Method |
231. |
Which of the following type of a variable is volatile? |
A. | Mutable variable |
B. | Dynamic variable |
C. | Volatile variable |
D. | Immutable variable |
Answer» A. Mutable variable |
232. |
the JavaScript, which one of the following is not considered as an error: |
A. | Syntax error |
B. | Missing of semicolons |
C. | Division by zero |
D. | Missing of Bracket |
Answer» C. Division by zero |
233. |
In JavaScript the x===y statement implies that: |
A. | Both x and y are equal in value, address as well. |
B. | Both are x and y are equal in value only. |
C. | Both are equal in the value and data type. |
D. | Both are not same at all. |
Answer» C. Both are equal in the value and data type. |
234. |
In JavaScript, what will be used for calling the function definition expression: |
A. | Function prototype |
B. | Function literal |
C. | Function calling |
D. | Function declaration |
Answer» B. Function literal |
235. |
Which one of the following is an ternary operator: |
A. | ? |
B. | : |
C. | - |
D. | + |
Answer» A. ? |
236. |
Which one of the following is known as the Equality operator, which is used to
|
A. | = |
B. | === |
C. | == |
D. | && |
Answer» C. == |
237. |
Which one of the following symbol is used for creating comments in the
|
A. | \\ |
B. | // |
C. | \* *\ |
D. | \* */ |
Answer» B. // |
238. |
Which one of the following is not considered as "statement" in the JavaScript? |
A. | use strict |
B. | debugger |
C. | if |
D. | with |
Answer» A. use strict |
239. |
A collection of elements of the same data type which may either in order or not,
|
A. | String |
B. | Array |
C. | Serialized Object |
D. | Object |
Answer» B. Array |
240. |
Is JavaScript a case-sensitive language? |
A. | true |
B. | false |
C. | can not say |
D. | none of these |
Answer» A. true |
241. |
JavaScript is ______ Side scripting language. |
A. | Server |
B. | Client |
C. | ISP |
D. | Browser |
Answer» D. Browser |
242. |
. The behaviour of the document elements can be defined by |
A. | Using document object |
B. | Registering appropriate event handlers |
C. | Using element object |
D. | All of the mentioned |
Answer» B. Registering appropriate event handlers |
243. |
The service(s) that enables networking through scripted HTTP requests is |
A. | XMLHttpResponse |
B. | XMLRequest |
C. | XMLHttpRequest |
D. | All of the mentioned |
Answer» C. XMLHttpRequest |
244. |
The HTML5 specification includes |
A. | Data storage |
B. | Graphics APIs |
C. | Other APIs for web apps |
D. | All of the mentioned |
Answer» D. All of the mentioned |
245. |
Which of the following are not advanced services? |
A. | Data storage |
B. | Networking |
C. | XMLHttpRequest object |
D. | None of the mentioned |
Answer» D. None of the mentioned |
246. |
JavaScript code between a pair of “script” tags are called |
A. | Non-inline |
B. | External |
C. | Referenced |
D. | Inline |
Answer» D. Inline |
247. |
Client-side JavaScript code is embedded within HTML documents in |
A. | A URL that uses the special javascript:encoding |
B. | A URL that uses the special javascript:stack |
C. | A URL that uses the special javascript:protocol |
D. | A URL that uses the special javascript:code |
Answer» C. A URL that uses the special javascript:protocol |
248. |
What is the programming philosophy that argues that content and behaviour
|
A. | Unobtrusive JavaScript |
B. | Obtrusive JavaScript |
C. | Inherited JavaScript |
D. | Modular JavaScript |
Answer» A. Unobtrusive JavaScript |
249. |
Which of the following communicates with server-side CGI scripts through HTML
|
A. | Static Web Pages |
B. | Interactive Web Pages |
C. | Conditional Web Pages |
D. | None of the mentioned |
Answer» B. Interactive Web Pages |
250. |
______ tag is an extension to HTML that can enclose any number of JavaScript
|
A. | <SCRIPT> |
B. | <BODY> |
C. | <HEAD> |
D. | <TITLE> |
Answer» A. <SCRIPT> |
251. |
How does JavaScript store dates in a date object? |
A. | The number of milliseconds since January 1st, 1970 |
B. | The number of days since January 1st, 1900 |
C. | The number of seconds since Netscape's public stock offering. |
D. | None of the above |
Answer» A. The number of milliseconds since January 1st, 1970 |
252. |
Which of the following attribute can hold the JavaScript version? |
A. | LANGUAGE |
B. | SCRIPT |
C. | VERSION |
D. | None of the above |
Answer» A. LANGUAGE |
253. |
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. document.write("Hello World") |
254. |
Which of the following way can be used to indicate the LANGUAGE attribute? |
A. | <LANGUAGE="JavaScriptVersion"> |
B. | <SCRIPT LANGUAGE="JavaScriptVersion"> |
C. | C. <SCRIPT LANGUAGE="JavaScriptVersion"> JavaScript statements…</SCRIPT> |
D. | D. <SCRIPT LANGUAGE="JavaScriptVersion"!> JavaScript statements…</SCRIPT> |
Answer» C. C. <SCRIPT LANGUAGE="JavaScriptVersion"> JavaScript statements…</SCRIPT> |
255. |
Inside which HTML element do we put the JavaScript? |
A. | <js> |
B. | <scripting> |
C. | <script> |
D. | <javascript> |
Answer» C. <script> |
256. |
What is the correct syntax for referring to an external script called " abc.js"? |
A. | <script href=" abc.js"> |
B. | <script name=" abc.js"> |
C. | <script src=" abc.js"> |
D. | None of the above |
Answer» C. <script src=" abc.js"> |
257. |
Which types of image maps can be used with JavaScript? |
A. | Server-side image maps |
B. | Client-side image maps |
C. | Server-side image maps and Client-side image maps |
D. | None of the above |
Answer» B. Client-side image maps |
258. |
Which of the following navigator object properties is the same in both Netscape
|
A. | navigator.appCodeName |
B. | navigator.appName |
C. | navigator.appVersion |
D. | None of the above |
Answer» A. navigator.appCodeName |
259. |
Which is the correct way to write a JavaScript array? |
A. | var txt = new Array(1:"tim",2:"kim",3:"jim") |
B. | var txt = new Array:1=("tim")2=("kim")3=("jim") |
C. | var txt = new Array("tim","kim","jim") |
D. | var txt = new Array="tim","kim","jim" |
Answer» C. var txt = new Array("tim","kim","jim") |
260. |
What does the <noscript> tag do? |
A. | Enclose text to be displayed by non-JavaScript browsers. |
B. | Prevents scripts on the page from executing. |
C. | Describes certain low-budget movies. |
D. | None of the above |
Answer» A. Enclose text to be displayed by non-JavaScript browsers. |
261. |
If para1 is the DOM object for a paragraph, what is the correct syntax to change the text within the paragraph? |
A. | "New Text"? |
B. | para1.value="New Text"; |
C. | para1.innerText = "New Text |
D. | para1.nodeValue="New Text"; |
Answer» C. para1.innerText = "New Text |
262. |
JavaScript entities start with _______ and end with _________. |
A. | Semicolon, colon |
B. | Semicolon, Ampersand |
C. | Ampersand, colon |
D. | Ampersand, semicolon |
Answer» D. Ampersand, semicolon |
263. |
Which of the following best describes JavaScript? |
A. | a low-level programming language. |
B. | a scripting language precompiled in the browser. |
C. | a compiled scripting language. |
D. | an object-oriented scripting language. |
Answer» D. an object-oriented scripting language. |
264. |
Choose the server-side JavaScript object? |
A. | FileUpLoad |
B. | Function |
C. | File |
D. | Date |
Answer» C. File |
265. |
Choose the client-side JavaScript object? |
A. | Database |
B. | Cursor |
C. | Client |
D. | FileUpLoad |
Answer» D. FileUpLoad |
266. |
Which of the following is not considered a JavaScript operator? |
A. | new |
B. | this |
C. | delete |
D. | typeof |
Answer» B. this |
267. |
______method evaluates a string of JavaScript code in the context of the
|
A. | Eval |
B. | ParseInt |
C. | ParseFloat |
D. | Efloat |
Answer» A. Eval |
268. |
Which of the following event fires when the form element loses the focus:
|
A. | onfocus |
B. | onblur |
C. | onclick |
D. | ondblclick |
Answer» B. onblur |
269. |
The syntax of Eval is _______. |
A. | [objectName.]eval(numeriC. |
B. | [objectName.]eval(string) |
C. | [EvalName.]eval(string) |
D. | [EvalName.]eval(numeriC. |
Answer» B. [objectName.]eval(string) |
270. |
JavaScript is interpreted by ______
|
A. | Client |
B. | Server |
C. | Object |
D. | None of the above |
Answer» A. Client |
271. |
Using _______ statement is how you test for a specific condition. |
A. | Select |
B. | If |
C. | Switch |
D. | For |
Answer» B. If |
272. |
What is internet? |
A. | a single network |
B. | a vast collection of different networks |
C. | interconnection of local area networks |
D. | none of the above |
Answer» B. a vast collection of different networks |
273. |
What is a web browser? |
A. | a program that can display a web page |
B. | a program used to view html documents |
C. | it enables user to access the resources of internet |
D. | all of the above |
Answer» D. all of the above |
274. |
URL stands for |
A. | unique reference label |
B. | uniform reference label |
C. | uniform resource locator |
D. | unique resource locator |
Answer» C. uniform resource locator |
275. |
Physical or logical arrangement of network is |
A. | Topology |
B. | Routing |
C. | Networking |
D. | None of the above |
Answer» A. Topology |
276. |
In this topology, there is a central controller or hub |
A. | Star |
B. | Mesh |
C. | Ring |
D. | Bus |
Answer» A. Star |
277. |
This topology requires multipoint connection |
A. | Star |
B. | Mesh |
C. | Ring |
D. | Bus |
Answer» D. Bus |
278. |
A piece of icon or image on a web page associated with another webpage is called …… |
A. | url |
B. | hyperlink |
C. | plugin |
D. | none of the above |
Answer» B. hyperlink |
279. |
Dynamic web page |
A. | is same every time whenever it displays |
B. | generates on demand by a program or a request from browser |
C. | both (a) and (b) |
D. | none of the above |
Answer» B. generates on demand by a program or a request from browser |
280. |
An alternative of javascript on windows platform is |
A. | VBScript |
B. | ASP.NET |
C. | JSP |
D. | none of the above |
Answer» A. VBScript |
281. |
Frames from one LAN can be transmitted to another LAN via the device |
A. | Router |
B. | Bridge |
C. | Gateway |
D. | Repeater |
Answer» B. Bridge |
282. |
What is the following is not Network? |
A. | WAN |
B. | RAN |
C. | MAN |
D. | LAN |
Answer» B. RAN |
283. |
Hub is a ………………… device and Switch is ………… device |
A. | Unicast, Multicast |
B. | Multicast, Unicast |
C. | Broadcast, Unicast |
D. | None of the above |
Answer» C. Broadcast, Unicast |
284. |
Switch is a device of …………………layer of OSI model |
A. | Network Layer |
B. | Data link Layer |
C. | Application Layer |
D. | Session Layer |
Answer» B. Data link Layer |
285. |
Software which allows user to view a web page is called …. |
A. | Web site |
B. | Browser |
C. | Operating System |
D. | Interpreter |
Answer» B. Browser |
286. |
………. programs automatically connects to web sites and download documents and save them into local drive |
A. | Web downloading utilities |
B. | Web Server |
C. | Web Browser |
D. | None of these |
Answer» A. Web downloading utilities |
287. |
Expansion of FTP is |
A. | Fine Transfer Protocol |
B. | File Transfer Protocol |
C. | First Transfer Protocol |
D. | None of the above |
Answer» B. File Transfer Protocol |
288. |
FTP is built on _____ architecture |
A. | Client-server |
B. | P2P |
C. | Both of the mentioned |
D. | None of the mentioned |
Answer» A. Client-server |
289. |
FTP uses _____ parallel TCP connections to transfer a file |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» B. 2 |
290. |
The network layer concerns with |
A. | bits |
B. | frames |
C. | packets |
D. | none of the mentioned |
Answer» C. packets |
291. |
OSI stands for |
A. | open system interconnection |
B. | operating system interface |
C. | optical service implementation |
D. | none of the mentioned |
Answer» A. open system interconnection |
292. |
The OSI model has ___ layers. |
A. | 4 |
B. | 5 |
C. | 6 |
D. | 7 |
Answer» D. 7 |
293. |
TCP/IP model does not have ______ layer but OSI model have this layer. |
A. | session layer |
B. | presentation layer |
C. | application layer |
D. | both (a) and (b) |
Answer» D. both (a) and (b) |
294. |
Transmission data rate is decided by |
A. | network layer |
B. | physical layer |
C. | data link layer |
D. | transport layer |
Answer» B. physical layer |
295. |
The _______ layer is the layer closest to the transmission medium. |
A. | network layer |
B. | physical layer |
C. | data link layer |
D. | transport layer |
Answer» B. physical layer |
296. |
The _______ layer lies between the network layer and the application layer. |
A. | network layer |
B. | physical layer |
C. | data link layer |
D. | transport layer |
Answer» D. transport layer |
297. |
A local telephone network is an example of a _______ network |
A. | Packet switched |
B. | Circuit switched |
C. | both of the mentioned |
D. | none of the mentioned |
Answer» A. Packet switched |
298. |
Most packet switches use this principle |
A. | Stop and wait |
B. | Store and forward |
C. | Both of the mentioned |
D. | None of the mentioned |
Answer» B. Store and forward |
299. |
Which tag is used to display a picture? |
A. | picture |
B. | image |
C. | img |
D. | src |
Answer» C. img |
300. |
<b> tag makes the enclosed text bold. What is other tag to make text bold? |
A. | <strong> |
B. | <dar> |
C. | <black> |
D. | <emp> |
Answer» A. <strong> |
Done Reading?