

McqMate
These multiple-choice questions (MCQs) are designed to enhance your knowledge and understanding in the following areas: Bachelor of Computer Applications (BCA) , Bachelor of Business Administration in Computer Applications (BBA [CA]) .
Chapters
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 Studing? Take A Test.
Great job completing your study session! Now it's time to put your knowledge to the test. Challenge yourself, see how much you've learned, and identify areas for improvement. Don’t worry, this is all part of the journey to mastery. Ready for the next step? Take a quiz to solidify what you've just studied.