InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 51. |
Which of the following is not encode by encodeURI() function?(a) >(b) [(c) \(d) :The question was posed to me during an interview for a job.I'm obligated to ask this question of URL Encoding topic in portion HTML Images & Web Page Files of HTML |
|
Answer» The CORRECT OPTION is (d) : |
|
| 52. |
Sprites are not used for _________(a) beautify the web page(b) reducing HTTP request(c) reduce loading time(d) reducing multiple server requestsI have been asked this question in an interview for internship.My query is from Using Image Sprites & Standardizing Client-Side Templating topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Correct choice is (a) beautify the web PAGE |
|
| 53. |
Each image in sprite should be approximately of ___________(a) 100 pixels(b) 20 pixels(c) 10 pixels(d) 50 pixelsI got this question in my homework.This key question is from Using Image Sprites & Standardizing Client-Side Templating in portion HTML Images & Web Page Files of HTML |
|
Answer» The correct answer is (c) 10 PIXELS |
|
| 54. |
Which of the following detects for the support of size attribute of an image?(a) JPEG 2000(b) JPEG XR(c) Image crossOrigin(d) SizesThis question was posed to me in a job interview.I need to ask this question from Adding HTML features safely with Modernizr in chapter HTML Images & Web Page Files of HTML |
| Answer» | |
| 55. |
Which of the following gives a text description of the image if it is not available?(a) alt(b) title(c) src(d) heightI got this question in an online quiz.This interesting question is from Optimization of Images topic in section HTML Images & Web Page Files of HTML |
|
Answer» The CORRECT ANSWER is (a) ALT |
|
| 56. |
Vector images are created in ___________(a) Adobe Illustrator(b) Adobe Photoshop(c) Adobe Fireworks(d) SplashupThe question was asked in quiz.This interesting question is from Optimization of Images in chapter HTML Images & Web Page Files of HTML |
|
Answer» Correct choice is (a) Adobe Illustrator |
|
| 57. |
Which of the following is not the class of NoSQL?(a) Document stores(b) Multidimension stores(c) Key-value stores(d) MemcacheThis question was addressed to me during an online interview.This intriguing question originated from Web Performance Optimization topic in division HTML Images & Web Page Files of HTML |
|
Answer» Right ANSWER is (d) Memcache |
|
| 58. |
Which browser does not support element?(a) Chrome(b) Firefox(c) Internet Explorer(d) OperaThis question was posed to me during an interview.My question is based upon Using Image Sprites & Standardizing Client-Side Templating topic in portion HTML Images & Web Page Files of HTML |
|
Answer» The correct answer is (c) INTERNET Explorer |
|
| 59. |
classPrefix is used when _____________(a) it is mandatory prefix before all the classes(b) class name clashes(c) when there is no any class in the code(d) not mandatory it depends on userI had been asked this question in an online quiz.The origin of the question is Adding HTML features safely with Modernizr in chapter HTML Images & Web Page Files of HTML |
|
Answer» Right answer is (b) CLASS name clashes |
|
| 60. |
URL is ___________(a) web address(b) source code(c) user’s address(d) an attributeI got this question by my college professor while I was bunking the class.This is a very interesting question from URL Encoding in chapter HTML Images & Web Page Files of HTML |
|
Answer» Correct choice is (a) web address |
|
| 61. |
Which format can create a transparent image?(a) PNG(b) GIF(c) JPG(d) SVGI have been asked this question in examination.This interesting question is from Optimization of Images in section HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (a) PNG |
|
| 62. |
What does not come under minification?(a) removal of comments(b) removal of new line characters(c) removal of white space characters(d) removal of multimedia elementsI had been asked this question during an internship interview.I would like to ask this question from Web Performance Optimization topic in division HTML Images & Web Page Files of HTML |
|
Answer» Right option is (d) REMOVAL of multimedia elements |
|
| 63. |
Which of the following is the final method to create MySQL backups?(a) LVM snapshots(b) SQL backups(c) CSV backups(d) File backupsThis question was addressed to me in an online interview.This is a very interesting question from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» Right answer is (a) LVM snapshots |
|
| 64. |
Which browser gives maximum parallel connections per host?(a) Opera 10(b) Chrome 1 and 2(c) Safari 3 and 4(d) Firefox 3I have been asked this question during an interview.I'm obligated to ask this question of Web Performance Optimization topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Right option is (a) Opera 10 |
|
| 65. |
What is the correct syntax of web address?(a) path://prefix.port:domain/filename/scheme(b) scheme://prefix.domain:port/path/filename(c) prefix://scheme.port:domain/filename/path(d) port://domain.filenmae:path/scheme/prefixThis question was posed to me in unit test.My question comes from URL Encoding topic in division HTML Images & Web Page Files of HTML |
|
Answer» Right option is (b) SCHEME://prefix.domain:PORT/path/filename |
|
| 66. |
For checking programmatically we use _________(a) Modernizr.mq(b) Modernizr.prefixed(c) Modernizr._prefixes(d) Modernizr.testAllPropsI have been asked this question during an interview.My question is taken from Adding HTML features safely with Modernizr topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Correct choice is (a) Modernizr.mq |
|
| 67. |
If the transparent part of the image has rounded or diagonal edges, which format is suitable?(a) PNG(b) Transparent GIF(c) GIF(d) JPGI got this question in an internship interview.Asked question is from Application Cache and Cache Manifest File topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Right ANSWER is (a) PNG |
|
| 68. |
Which of the following is not one of the cache state?(a) Downloading(b) Checking(c) Idle(d) FallbackThe question was asked during an interview.I need to ask this question from Application Cache and Cache Manifest File topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (d) Fallback |
|
| 69. |
What is the work of Gzip compression?(a) compresses an image(b) compresses web pages only(c) compresses JavaScript and CSS code only(d) compresses web pages, JavaScript and CSSThis question was addressed to me in an international level competition.My question is based upon Web Performance Optimization in chapter HTML Images & Web Page Files of HTML |
|
Answer» RIGHT answer is (d) compresses web pages, JavaScript and CSS The BEST explanation: Basically GZIP compression is used to compress text DATA in websites. Gzip compression is very useful in web performance optimization. It compresses web pages, JavaScript and CSS. Gzip is also one of the file formats. Gzip compression can be enabled via webserver configuration. Common webservers where it can me make enable is .htaccess, Nginx, Apache and Litspeed. |
|
| 70. |
Which of the following is used to decode the encoded URI?(a) encodeURI()(b) encodeURIComponent()(c) decodeURI()(d) Server.URLEncode()I had been asked this question during a job interview.My question comes from URL Encoding in chapter HTML Images & Web Page Files of HTML |
|
Answer» Correct OPTION is (c) decodeURI() |
|
| 71. |
In URL encoding replaces non-ASCII characters with ________(a) “*”(b) “&”(c) “%”(d) “+”I got this question during an interview.I want to ask this question from URL Encoding in section HTML Images & Web Page Files of HTML |
|
Answer» Correct option is (C) “%” |
|
| 72. |
When a new version of any cache is available which even is fired?(a) progress(b) updateready(c) checking(d) obsoleteThis question was addressed to me in homework.My question is based upon Application Cache and Cache Manifest File topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» The CORRECT answer is (B) updateready |
|
| 73. |
ASCII is _____________(a) 6-bit character set(b) 7-bit character set(c) 9-bit character set(d) 3-bit character setI got this question during an online interview.The above asked question is from URL Encoding topic in division HTML Images & Web Page Files of HTML |
|
Answer» Correct answer is (b) 7-bit character set |
|
| 74. |
Which of the following is not render blocking resource?(a) CSS(b) HTML(c) JavaScript(d) JqueryI had been asked this question in a job interview.The above asked question is from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» Right OPTION is (d) Jquery |
|
| 75. |
Major portion of web page contributes _________________(a) image(b) text(c) video(d) audioI have been asked this question in a national level competition.Origin of the question is Web Performance Optimization topic in division HTML Images & Web Page Files of HTML |
|
Answer» The CORRECT OPTION is (a) image |
|
| 76. |
Which latest browser is able to detect CSS Grids?(a) Modernizr 3.5.0(b) Modernizr 3.4.0(c) Modernizr 3.2.0(d) Modernizr 3.1.0The question was posed to me during an interview for a job.My question is based upon Adding HTML features safely with Modernizr topic in section HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (a) Modernizr 3.5.0 |
|
| 77. |
What is Modernizr?(a) CSS style sheet(b) JavaScript Library(c) The source code of a web page(d) PHP fileThe question was asked by my college professor while I was bunking the class.My enquiry is from Adding HTML features safely with Modernizr in section HTML Images & Web Page Files of HTML |
|
Answer» Right option is (b) JavaScript LIBRARY |
|
| 78. |
Resources do not fit into _______(a) explicit entries(b) master entries(c) fallback entries(d) idle entriesThe question was posed to me at a job interview.The query is from Application Cache and Cache Manifest File topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Right option is (d) idle ENTRIES |
|
| 79. |
What is the new format to display vector images?(a) SVG(b) GIF(c) JPG(d) PNGI got this question at a job interview.I would like to ask this question from Optimization of Images topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Correct option is (a) SVG |
|
| 80. |
Which of the following is not the benefit of cache application?(a) browsing offline(b) reduction of server load(c) speed(d) asynchronousThis question was addressed to me in examination.Origin of the question is Application Cache and Cache Manifest File in division HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (d) asynchronous |
|
| 81. |
What is the size of PHP Module extension mysql.so?(a) 35 KB(b) 42 KB(c) 15 KB(d) 107 KBI have been asked this question during an interview.The above asked question is from Web Performance Optimization topic in division HTML Images & Web Page Files of HTML |
|
Answer» Correct choice is (b) 42 KB |
|
| 82. |
What is the required argument to openDatabase?(a) version number(b) database name(c) size of a database(d) text descriptionThe question was asked in my homework.Query is from Web Databases in portion HTML Images & Web Page Files of HTML |
|
Answer» Right option is (a) version number |
|
| 83. |
Number of rows is returned by the attribute __________(a) insertIID(b) rows(c) rowsAffected(d) lengthI have been asked this question during an online interview.The above asked question is from Web Databases in portion HTML Images & Web Page Files of HTML |
|
Answer» The correct OPTION is (c) rowsAffected |
|
| 84. |
Which of the error is raised when the quantity of data is too much?(a) TOO_LARGE_ERR(b) UNKNOWN_ERR(c) TIMEOUT_ERR(d) QUOTA_ERRThe question was posed to me in an online interview.This is a very interesting question from Web Databases in section HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (a) TOO_LARGE_ERR |
|
| 85. |
Which feature is not used when SQL features are not being supported?(a) BEGIN(b) END(c) COMMIT(d) ROLLBACKThe question was posed to me during an internship interview.My question is based upon Web Databases in chapter HTML Images & Web Page Files of HTML |
|
Answer» Correct ANSWER is (b) END |
|
| 86. |
Which function is used to return a handle to the database?(a) prepareDatabase()(b) showDocCount()(c) executeSql()(d) openDatabase()The question was asked by my school teacher while I was bunking the class.My enquiry is from Web Databases topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» The correct answer is (a) prepareDatabase() |
|
| 87. |
What is the URL encoding of VT?(a) %0B(b) %09(c) %06(d) %02This question was posed to me by my school teacher while I was bunking the class.My enquiry is from URL Encoding in section HTML Images & Web Page Files of HTML |
|
Answer» The correct CHOICE is (a) %0B |
|
| 88. |
Which of the following can be helpful in creating your own feature detect?(a) Modernizr.addTest(b) Modenizer.on(c) Modernizr._domPrefixes(d) Modernizr.atRuleI had been asked this question during an interview.This interesting question is from Adding HTML features safely with Modernizr topic in section HTML Images & Web Page Files of HTML |
|
Answer» The correct choice is (a) Modernizr.addTest |
|
| 89. |
Which line is mandatory in cache manifest file?(a) CACHE MANIFEST(b) CSS stylesheet(c) index.html(d) image addressI got this question during an online exam.Asked question is from Application Cache and Cache Manifest File topic in portion HTML Images & Web Page Files of HTML |
|
Answer» The correct choice is (a) CACHE MANIFEST |
|
| 90. |
Which command controls the maximum number of tables that the cache can hold?(a) table_open_cache(b) table_definition_cache(c) open_files_limit(d) read_buffer_sizeI have been asked this question in a national level competition.The question is from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» Right answer is (a) table_open_cache |
|
| 91. |
Which of the following is not MySQL Forks?(a) MariaDB(b) OurDelta(c) Drizzle(d) SphinxThis question was posed to me by my school principal while I was bunking the class.Query is from Web Performance Optimization topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» Correct answer is (d) SPHINX |
|
| 92. |
What is the work of TTFB?(a) measures the responsiveness of web server(b) increases the load speed of web page(c) compresses the image(d) remove unnecessary charactersThis question was posed to me in an interview for internship.This question is from Web Performance Optimization in division HTML Images & Web Page Files of HTML |
|
Answer» The CORRECT option is (a) measures the responsiveness of WEB server |
|
| 93. |
Which of the following is not DOM property?(a) element.appendChild(node)(b) document.createElement()(c) element.innerHTML(d) document.getElementById()I had been asked this question in a job interview.This interesting question is from Using Image Sprites & Standardizing Client-Side Templating in division HTML Images & Web Page Files of HTML |
|
Answer» CORRECT option is (d) document.getElementById() The BEST EXPLANATION: For generating DOM we use CERTAIN DOM properties or methods. Some of the DOM methods are element.appendChild(NODE), document.createElement(), element.innerHTML, document.removeElement(). |
|
| 94. |
Which of the following does not generate a sprite sheet?(a) SpriteRight(b) Sprite Cow(c) CSS Sprites(d) GlueI got this question in an interview.My query is from Using Image Sprites & Standardizing Client-Side Templating topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Correct ANSWER is (b) Sprite Cow |
|
| 95. |
Which attribute is used for getting an individual row?(a) results.rows.item(i)(b) insertId(c) rowAffected(d) lengthThe question was asked in exam.My question is from Web Databases topic in section HTML Images & Web Page Files of HTML |
|
Answer» Right answer is (a) results.ROWS.item(i) |
|
| 96. |
What is the URL Encode for the character ‘M’?(a) %47(b) %4A(c) %4D(d) %50I got this question in an international level competition.Asked question is from URL Encoding in chapter HTML Images & Web Page Files of HTML |
|
Answer» Right ANSWER is (C) %4D |
|
| 97. |
What is the JavaScript check for the HTML5 video feature?(a) Modernizr.video(b) Modernizr.video[format].(c) Modernizr.rgba(d) Modernizr.rgbaThe question was asked during an online exam.Question is taken from Adding HTML features safely with Modernizr topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» CORRECT option is (a) Modernizr.VIDEO To ELABORATE: HTML5 feature video is detected byModernizr.video. Modernizr.video[format] detects HTML5 video format feature. Modernizr.RGBA detects rgba() feature of HTML5, hsla() is detected by Modernizr.hsla |
|
| 98. |
Images are usually printed at a resolution of ___________(a) 200 dpi(b) 100 dpi(c) 50 dpi(d) 300 dpiI had been asked this question by my college director while I was bunking the class.My query is from Optimization of Images in portion HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (d) 300 dpi |
|
| 99. |
Up to what resolution image should be saved by using in the web?(a) 23 ppi(b) 34 ppi(c) 72 ppi(d) 100 ppiThis question was posed to me at a job interview.The query is from Optimization of Images topic in section HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (c) 72 ppi |
|
| 100. |
What is URL encode of ‘&’?(a) %24(b) %2c(c) %3d(d) %26I have been asked this question by my college professor while I was bunking the class.This key question is from URL Encoding topic in section HTML Images & Web Page Files of HTML |
|
Answer» Correct option is (d) %26 |
|