MCQOPTIONS
Saved Bookmarks
This section includes 107 Mcqs, each offering curated multiple-choice questions to sharpen your C Program knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
"My salary was increased by 15%"Select the statement, which will EXACTLY reproduce the line of text above. |
| A. | rintf("My salary was increased by 15/%!"); |
| B. | rintf("My salary was increased by 15%!"); |
| C. | rintf("My salary was increased by 15'%'!"); |
| D. | rintf("My salary was increased by 15%%!"); |
| Answer» E. | |
| 2. |
Find the output of the following program.void main(){int i=065, j=65;printf("%d %d", i, j);} |
| A. | 3 65 |
| B. | 5 65 |
| C. | 65 65 |
| D. | 53 65 |
| E. | yntax error |
| Answer» B. 5 65 | |
| 3. |
What will be printed after execution of the following program code?main(){printf("\\nab");printf("\\bsi");printf("\\rha");} |
| A. | bsiha |
| B. | siha |
| C. | aasi |
| D. | ai |
| E. | one of these |
| Answer» E. one of these | |
| 4. |
Once the email is sent, the message is broken into pieces called .................. |
| A. | Packets |
| B. | Process |
| C. | Digits |
| D. | Bytes |
| Answer» B. Process | |
| 5. |
Default font size of HTML is ....................... |
| A. | 2 |
| B. | 4 |
| C. | 6 |
| D. | 3 |
| Answer» E. | |
| 6. |
A ............................. is a symbolic name a network administrator assigns to a machine. |
| A. | URL |
| B. | DNS |
| C. | IP address |
| D. | Host name |
| Answer» E. | |
| 7. |
Which statement is true? |
| A. | An XML document can have one root element |
| B. | An XML document can have one child element |
| C. | XML elements have to be in lower case |
| D. | All of the above |
| Answer» B. An XML document can have one child element | |
| 8. |
Internet is ............................... |
| A. | a network of networks |
| B. | an ocean of resources waiting to be mined |
| C. | a cooperative anarchy |
| D. | all of the above |
| Answer» E. | |
| 9. |
The leading bit pattern of class B network is .................. |
| A. | 0 |
| B. | 10 |
| C. | 110 |
| D. | 11 |
| Answer» C. 110 | |
| 10. |
Which are commonly used methods for request and response between a client and server? |
| A. | Get and Put |
| B. | Set and Put |
| C. | Set and Post |
| D. | Get and Post |
| Answer» E. | |
| 11. |
................ are the physical meeting points of backbones. |
| A. | Gateways |
| B. | Pathways |
| C. | Routers |
| D. | Domains |
| Answer» B. Pathways | |
| 12. |
What is the usage of alt value in tag? |
| A. | Alternative text for an Image |
| B. | Alternative source of an Image |
| C. | Caption of an Image |
| D. | All of above |
| Answer» B. Alternative source of an Image | |
| 13. |
Linking to another place in the same or another web page requires two A (Anchor) tags, the first with the .................. attribute and the second the ...................attribute. |
| A. | NAME & LINK |
| B. | LINK & HREF |
| C. | HREF & NAME |
| D. | TARGET & VALUE |
| Answer» D. TARGET & VALUE | |
| 14. |
If you want to create your web layout faster, than which framework you would preferably use |
| A. | JavaScript |
| B. | PHP |
| C. | Bootstrap |
| D. | None |
| Answer» D. None | |
| 15. |
WSFTP is an example of ........................... program. |
| A. | FTP |
| B. | Telnet |
| C. | Web browser |
| D. | |
| Answer» B. Telnet | |
| 16. |
A computer that translates ........................ of another computer into an ............... and vice versa, upon request is known as DNS server. |
| A. | Domain name and IP address |
| B. | Host address and Domain name |
| C. | Domain name and server address |
| D. | Server name and IP address |
| Answer» B. Host address and Domain name | |
| 17. |
The favicon was standardized by the |
| A. | IANA |
| B. | W3C |
| C. | WIPO |
| D. | EPO |
| Answer» C. WIPO | |
| 18. |
The regional networks are connected to the corporate networks, this is also called as ........ |
| A. | Backbone |
| B. | LAN COM |
| C. | WAN COM |
| D. | Intranet |
| Answer» B. LAN COM | |
| 19. |
The ...................... attribute adds space within each cell. |
| A. | CELL SPACING |
| B. | CELL PADDING |
| C. | WIDTH |
| D. | ALIGN |
| Answer» C. WIDTH | |
| 20. |
In order to connect to ISP's server you need ....... |
| A. | Hand gloves |
| B. | Printer |
| C. | User name and Password |
| D. | None of the above |
| Answer» D. None of the above | |
| 21. |
___________ is used to test whether geolocation is supported in old browsers. |
| A. | Modernizr |
| B. | Modernizr.geolocation |
| C. | Navigator.userAgent |
| D. | Modernizr.js |
| Answer» D. Modernizr.js | |
| 22. |
The attribute .................. of tag sets color of hypertext links. |
| A. | link |
| B. | vlink |
| C. | alink |
| D. | hlink |
| Answer» B. vlink | |
| 23. |
In case we want to implement a JavaScript fallback, we would need to create a conditional statement using Modernizr. |
| A. | True |
| B. | False |
| C. | May be |
| D. | Can't say |
| Answer» B. False | |
| 24. |
Which of the following is not supported in HTML5 ? |
| A. | scheme |
| B. | content |
| C. | http-equiv |
| D. | name |
| Answer» B. content | |
| 25. |
__________ prevents search engines from following links inside the page |
| A. | noarchive |
| B. | nofollow |
| C. | noindex |
| D. | novalue |
| Answer» C. noindex | |
| 26. |
....................... is a uniform naming scheme for locating resources on the web. |
| A. | URI |
| B. | HTTP |
| C. | WEBNAME |
| D. | RESOURCENAME |
| Answer» B. HTTP | |
| 27. |
Which of the following is used to create web pages? |
| A. | HTML |
| B. | C |
| C. | JVM |
| D. | DTD |
| Answer» B. C | |
| 28. |
The ___________ of an item is the value of its element’s itemid attribute. |
| A. | token |
| B. | typed item |
| C. | global identifier |
| D. | none of the mentioned |
| Answer» D. none of the mentioned | |
| 29. |
If the element has an itemscope attribute, it returns an __________ object with all the element’s properties. |
| A. | itemscope |
| B. | dom object |
| C. | collection.namedItem |
| D. | none of the mentioned |
| Answer» C. collection.namedItem | |
| 30. |
The value of the ___________ attribute refers to the time interval in seconds before the refresh is performed. |
| A. | scheme |
| B. | content |
| C. | http-equiv |
| D. | name |
| Answer» C. http-equiv | |
| 31. |
__________ is an HTML specification used to add more information to HTML tags. |
| A. | Macrodata |
| B. | Microdata |
| C. | Minidata |
| D. | Modifydata |
| Answer» C. Minidata | |
| 32. |
Which method takes a string that contains an unordered set of unique space-separated tokens that are case-sensitive, representing types? |
| A. | document.getItems |
| B. | element.itemProp |
| C. | collection.namedItem |
| D. | none of the mentioned |
| Answer» B. element.itemProp | |
| 33. |
The goal of microdata is to create a unified way to define the data in a way any web crawler or reader implementation can read it. |
| A. | True |
| B. | False |
| C. | May be |
| D. | Can't say |
| Answer» B. False | |
| 34. |
Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a data element ? |
| A. | The value is the value of the element’s value attribute, if it has one, or the empty string otherwise. |
| B. | The value is the item created by the element. |
| C. | The value is the element’s datetime value. |
| D. | None of the mentioned |
| Answer» B. The value is the item created by the element. | |
| 35. |
Which of the following is true if the property value of a name-value pair added by an element with an itemprop attribute is a time element ? |
| A. | The value is the element’s datetime value. |
| B. | The value is the value of the element’s content attribute, if any, or the empty string if there is no such attribute. |
| C. | The value is the value of the element’s value attribute, if it has one, or the empty string otherwise. |
| D. | The value is the element’s textContent. |
| Answer» B. The value is the value of the element’s content attribute, if any, or the empty string if there is no such attribute. | |
| 36. |
...................... is the incoming e-mail server. |
| A. | POP |
| B. | SMTP |
| C. | SMIP |
| D. | PPP |
| Answer» B. SMTP | |
| 37. |
The microdata model consists of groups of name-value pairs known as |
| A. | Item |
| B. | Property |
| C. | Value |
| D. | URL |
| Answer» B. Property | |
| 38. |
A favicon is an image used by the browser to identify a website or web application. |
| A. | True |
| B. | False |
| C. | May be |
| D. | Can't say |
| Answer» B. False | |
| 39. |
The recommended basic size for a favicon is ___________ pixels |
| A. | 16×16 |
| B. | 26×26 |
| C. | 48×48 |
| D. | both a and c |
| Answer» E. | |
| 40. |
In March 1999, Microsoft released Internet Explorer 5, which supported favicons for the first time. |
| A. | True |
| B. | False |
| C. | May be |
| D. | Can't say |
| Answer» B. False | |
| 41. |
____________ is a resource loader (CSS and JavaScript) that was made to specifically to work side-by-side with Modernizr. |
| A. | HasEvent() |
| B. | Navigator.userAgent |
| C. | Modernizr.load |
| D. | None of the mentioned |
| Answer» D. None of the mentioned | |
| 42. |
DNS translates ......... |
| A. | domain name into IP |
| B. | IP into domain name |
| C. | both a and b |
| D. | domain name into physical address |
| Answer» D. domain name into physical address | |
| 43. |
Swapping images in dreamweaver is best if |
| A. | The images are the same “Mime” type |
| B. | The images are the same color |
| C. | The images are the same size |
| D. | You use the “Constrain” tool |
| Answer» D. You use the “Constrain” tool | |
| 44. |
................... is known as father of World Wide Web. |
| A. | Robert Cailliau |
| B. | Tim Thompson |
| C. | Charles Darwin |
| D. | Tim Berners-Lee |
| Answer» E. | |
| 45. |
lanation: The syntax is.5. Which image file format is not supported in Firefox? |
| A. | ICO |
| B. | PNG |
| C. | SVG |
| D. | APNG |
| Answer» D. APNG | |
| 46. |
Which of the following is an attribute of tag? |
| A. | SRC |
| B. | LINK |
| C. | CELLPADDING |
| D. | BOLD |
| Answer» D. BOLD | |
| 47. |
Which of the following is not an IDE ? |
| A. | BlueGriffon 1.5.2 |
| B. | Aptana studio 3 |
| C. | TextEdit(Mac) |
| D. | Dreamweaver |
| Answer» D. Dreamweaver | |
| 48. |
Choose the inappropriate option with respect to Blue Griffon 1.5.2. Blue Griffon |
| A. | includes tools for developing HTML5 pages |
| B. | abstracts out many css3 effects |
| C. | supports direct embedding of audio and video files |
| D. | supports swapping of videos of any length |
| Answer» E. | |
| 49. |
Who created the first web browser |
| A. | Tim Berners Lee |
| B. | Jacobs,Lan |
| C. | Marc Andeersen |
| D. | Mozilla foundation |
| Answer» B. Jacobs,Lan | |
| 50. |
The open source software version of netscape is |
| A. | Chrome |
| B. | Mozilla |
| C. | Internet Explorer |
| D. | Erwise |
| Answer» C. Internet Explorer | |