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.
| 1. |
Which of the following locking method does not supported by APC?(a) File locks(b) Spin locks(c) Dead locks(d) IPC semaphoresI have been asked this question in final exam.My question is from Web Performance Optimization topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» The correct answer is (c) Dead locks |
|
| 2. |
What is hotlink protection?(a) stopping other sites from displaying images(b) stopping other sites from displaying videos(c) stopping access of source code(d) compresses an imageI have been asked this question in semester exam.My question is based upon Web Performance Optimization in chapter HTML Images & Web Page Files of HTML |
|
Answer» The correct answer is (a) STOPPING other sites from displaying images |
|
| 3. |
Which error is invoked when SQLTransactionCallback does not execute?(a) INVALID_ACCESS_ERR(b) UNKNOWN_ERR(c) TIMEOUT_ERR(d) INVALID_STATE_ERRThis question was addressed to me in an interview for job.The query is from Web Databases in division HTML Images & Web Page Files of HTML |
|
Answer» The correct CHOICE is (d) INVALID_STATE_ERR |
|
| 4. |
transaction() does not take the argument _______(a) callback(b) success callback(c) error callback(d) database nameThis question was addressed to me by my school teacher while I was bunking the class.Enquiry is from Web Databases in division HTML Images & Web Page Files of HTML |
|
Answer» The correct answer is (d) database name |
|
| 5. |
Which method is used to verifythe version number?(a) changeVersion()(b) readTransaction()(c) transaction()(d) executeSql()The question was asked by my college director while I was bunking the class.My doubt stems from Web Databases in chapter HTML Images & Web Page Files of HTML |
|
Answer» RIGHT option is (a) changeVersion() Best explanation: changeVersion() method automatically verify version number and it also changes it like doing a schema update. When this method is invoked it immediately RETURNS and then run transaction steps asynchronously by TAKING transaction callback as the third argument, error callback as the FOURTH argument and success callback as the fifth argument. |
|
| 6. |
For caption of the image we use ____________(a) (b) (c) (d) I had been asked this question in an international level competition.This intriguing question originated from Optimization of Images topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» The correct ANSWER is (a) |
|
| 7. |
Which of the following is used to determine browser support?(a) Modernizr.addTest(b) Modernizr.hasEvent(c) Modernizr.atRule(d) Modernizr.prefixedThis question was posed to me in a national level competition.This question is from Adding HTML features safely with Modernizr in chapter HTML Images & Web Page Files of HTML |
|
Answer» Right answer is (b) Modernizr.hasEvent |
|
| 8. |
Which of the following detects support for basic Worker API?(a) web workers(b) shared workers(c) data workers(d) blob workersI got this question during an interview.This intriguing question comes from Adding HTML features safely with Modernizr in section HTML Images & Web Page Files of HTML |
|
Answer» Correct answer is (a) web workers |
|
| 9. |
404 HTTP error is generated due to ____________(a) missing JavaScript file(b) any missing file(c) slow loading of the web page(d) on removing the newline characterThis question was posed to me in class test.My question comes from Web Performance Optimization topic in portion HTML Images & Web Page Files of HTML |
|
Answer» The correct OPTION is (b) any missing FILE |
|
| 10. |
Modernizr.csstransformss detects _________(a) CSS 2D transforms(b) CSS 3D transforms(c) Input Types(d) Input AttributesThe question was asked in an international level competition.Asked question is from Adding HTML features safely with Modernizr in division HTML Images & Web Page Files of HTML |
|
Answer» The correct option is (a) CSS 2D TRANSFORMS |
|
| 11. |
The features that can’t be detected by checking idle are checked by ____________(a) Modernizr.prefixedCSS(b) Modernizr.testAllProps(c) Modernizr.testStyles(d) Modernizr.testPropI have been asked this question 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 answer is (c) Modernizr.testStyles |
|
| 12. |
Which of the following is not possible compression value?(a) identity(b) deflate(c) compress(d) DNSThis question was addressed to me at a job interview.I'd like to ask this question from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» Correct choice is (d) DNS |
|
| 13. |
Which of the following is not the layer of the OSI Model?(a) Transport Layer(b) Network Layer(c) Session Layer(d) Atomic LayerI got this question in an online quiz.I need to ask this question from Web Performance Optimization in chapter HTML Images & Web Page Files of HTML |
|
Answer» Right ANSWER is (d) Atomic Layer |
|
| 14. |
The .content property is __________(a) read-only(b) write-only(c) read-write(d) hiddenI had been asked this question in exam.The query is from Using Image Sprites & Standardizing Client-Side Templating topic in division HTML Images & Web Page Files of HTML |
|
Answer» The CORRECT choice is (a) read-only |
|
| 15. |
Which of the following is not Sprite Sheet generator?(a) Lemonade(b) Firewoks CS6(c) SpriteMe(d) PixelomatorThis question was addressed to me by my school teacher while I was bunking the class.This key question is from Using Image Sprites & Standardizing Client-Side Templating in chapter HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (d) Pixelomator |
|
| 16. |
Which function is used in JavaScript for URL encoding?(a) encodeURI()(b) Server.URLEncode()(c) rawurlencode()(d) UREncodingI got this question during a job interview.Asked question is from URL Encoding topic in division HTML Images & Web Page Files of HTML |
|
Answer» CORRECT choice is (a) encodeURI() Easy explanation: There are some built in functions in JavaScript, ASP and PHP for URL encoding. JavaScript USE encodeURI() function. ASP USES Server.URLEncode() function, rawurlencode() function is used by PHP. Space is encoded as %20 by JavaScript function. |
|
| 17. |
Which entry executes and load scripts from the server?(a) Explicit entry(b) Network entry(c) Fallback entry(d) Master entryThis question was posed to me in an internship interview.My question comes from Application Cache and Cache Manifest File topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» The correct choice is (b) Network ENTRY |
|
| 18. |
Which version of web worker is introduced in Internet Explorer?(a) Version 3.5(b) Version 10.6(c) Version 10.0(d) Version 4.0This question was posed to me in quiz.My doubt stems from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» Right CHOICE is (c) Version 10.0 |
|
| 19. |
Gzip is not fully supported by ___________(a) Netscape 4.60+(b) Firefox(c) Netscape 6+(d) IE 4+The question was posed to me in semester exam.My doubt is from Web Performance Optimization topic in division HTML Images & Web Page Files of HTML |
|
Answer» The correct ANSWER is (a) Netscape 4.60+ |
|
| 20. |
openDatabase() method does not take the argument in __________(a) database name(b) display name(c) database version(d) server nameI got this question in class test.This key question is from Web Databases topic in section HTML Images & Web Page Files of HTML |
|
Answer» The correct choice is (d) server name |
|
| 21. |
What is the maximum cache size for Chrome?(a) unlimited(b) 300 MB(c) 400 MB(d) 1024 MBThe question was posed to me by my school teacher while I was bunking the class.This intriguing question originated from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» The correct CHOICE is (b) 300 MB |
|
| 22. |
For best speed position of JavaScript code should be at ______________(a) top of the code(b) bottom of the code(c) middle of the code(d) anywhere in the codeThe question was posed to me during an internship interview.This interesting question is from Web Performance Optimization in chapter HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (b) BOTTOM of the code tag. CSS code should be at the beginning of the code. |
|
| 23. |
HTTP request is between _______________(a) client and host(b) client and server(c) server and host(d) user and serverThis question was addressed to me during a job interview.My enquiry is from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» The CORRECT choice is (a) client and host |
|
| 24. |
Which is the best platform for working with the individual image?(a) SpriteMe(b) Fireworks CS6(c) Lemonade(d) CompassThis question was addressed to me in examination.Origin of the question is Using Image Sprites & Standardizing Client-Side Templating topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Right answer is (a) SpriteMe |
|
| 25. |
Which is not a reserved character?(a) _(b) ((c) )(d) *This question was addressed to me in an online quiz.My doubt stems from URL Encoding in section HTML Images & Web Page Files of HTML |
|
Answer» Right CHOICE is (a) _ |
|
| 26. |
Which of the following is not a reserved character?(a) &(b) >(c) +(d) @The question was posed to me in final exam.This intriguing question originated from URL Encoding topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» Correct OPTION is (B) > |
|
| 27. |
Which of the following detects support for the method of the form?(a) input formtarget(b) input formmethod(c) input formenctype(d) input formactionThis question was posed to me in an interview.I'm obligated to ask this question of Adding HTML features safely with Modernizr in division HTML Images & Web Page Files of HTML |
|
Answer» RIGHT OPTION is (B) INPUT formmethod Easy explanation: input formmethod detects support for formmethod attribute, input formtarget detects for formtarget attribute on forms, input formenctyp detects for the support of formenctype attribute, it overrides form enctype attribute, input formactin detects for the support of formaction attribute. |
|
| 28. |
How many MPMs can be loaded at a time?(a) 3(b) 1(c) 4(d) 0The question was posed to me during an interview.My question is taken from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» The correct choice is (b) 1 |
|
| 29. |
For sequential scans of tables we use ____________(a) read_buffer_size(b) join_buffer_size(c) read_rnd_buffer_size(d) sort_buffer_sizeThis question was addressed to me during an interview for a job.Enquiry is from Web Performance Optimization in portion HTML Images & Web Page Files of HTML |
|
Answer» Correct option is (a) read_buffer_size |
|
| 30. |
Sprites are_____________(a) 1-D images(b) 2-D images(c) 3-D images(d) not the imageI have been asked this question in an interview.Origin of the question is Using Image Sprites & Standardizing Client-Side Templating in portion HTML Images & Web Page Files of HTML |
|
Answer» Right ANSWER is (b) 2-D IMAGES |
|
| 31. |
The sign is used for the placeholder _____________(a) &(b) *(c) ^(d) ?I have been asked this question in an interview.I want to ask this question from Web Databases topic in section HTML Images & Web Page Files of HTML |
|
Answer» Right OPTION is (d) ? |
|
| 32. |
Which of the following is not control character?(a) BS(b) NUL(c) ampersand(d) HTThe question was asked during an interview.Enquiry is from URL Encoding in section HTML Images & Web Page Files of HTML |
|
Answer» RIGHT choice is (C) ampersand Explanation: ASCII control CHARACTERS are defined from %00-%1F, these characters are to DESIGN control hardware devices. These characters are not used inside URL. NUL, ENQ, ETX, BEL, BS, HT, LF, EOT, CR, DLE, DC3 are some of the control characters. BS is for backspace, NUL is for null character, HT is for the horizontal tab character. |
|
| 33. |
For testing prefixed CSS properties we use _____________(a) Modernizr.prefixed(b) Modernizr.prefixedCSS(c) Modernizr._prefixes(d) Modernizr.prefixedCSS valueThe question was asked in an interview for job.This interesting question is from Adding HTML features safely with Modernizr in chapter HTML Images & Web Page Files of HTML |
|
Answer» RIGHT choice is (d) Modernizr.prefixedCSS value Explanation: For CHECKIN prefixed CSS properties we USE Modernizr.prefixedCSS value. Syntax is |
|
| 34. |
Which is not the section of manifest?(a) network(b) cache(c) fallback(d) cache statusThis question was addressed to me in an internship interview.I'd like to ask this question from Application Cache and Cache Manifest File in section HTML Images & Web Page Files of HTML |
|
Answer» Correct choice is (d) cache status |
|
| 35. |
Which of the following is not a kind of MySQL backup?(a) File backups(b) CSV backups(c) SQL backups(d) Table backupsThis question was posed to me in examination.This is a very interesting question from Web Performance Optimization topic in section HTML Images & Web Page Files of HTML |
|
Answer» CORRECT option is (d) Table backups To EXPLAIN: There are various backups in MySQL. File backups, SQL backups, backing up from a slave, CSV backups, INCREMENTAL backups are some kind of backups. File backup is the backup of MySQL database which creates a copy of FILES from MySQL DATA directory. SQL backups are alternate to File backups. |
|
| 36. |
For best speed position of CSS code should be at __________(a) at the bottom of the code(b) at the middle of the code(c) at the top of the code(d) anywhere in the codeI got this question during an interview for a job.My question comes from Web Performance Optimization topic in chapter HTML Images & Web Page Files of HTML |
|
Answer» The correct option is (c) at the top of the CODE |
|
| 37. |
Which of the following is not a template library?(a) Mustache(b) Underscore JS library(c) Live.js(d) HandlebarsThe question was asked during an online exam.Query is from Using Image Sprites & Standardizing Client-Side Templating topic in division HTML Images & Web Page Files of HTML |
|
Answer» The correct CHOICE is (c) Live.js |
|
| 38. |
does not include the attribute ___________(a) id(b) hidden(c) lang(d) srcThis question was addressed to me in a national level competition.The query is from Using Image Sprites & Standardizing Client-Side Templating topic in section HTML Images & Web Page Files of HTML |
|
Answer» RIGHT option is (d) src The best I can explain: only include global . Id, , , onsubmit, ontoggle, onwaiting, onplay, onmousemove, onmousedown, onblur, oncancel, oncanplay, onabort, title etc. are some of the global attributes. |
|
| 39. |
Which of the following is not the software for editing images?(a) Adobe Fireworks(b) PaintShop Pro(c) Paint.net(d) SplashupThe question was asked in homework.This interesting question is from Optimization of Images in division HTML Images & Web Page Files of HTML |
|
Answer» Right OPTION is (d) Splashup |
|
| 40. |
Which of the following is internal list of prefixes?(a) Modernizr._prefixes(b) Modernizr.prefixedCSS value(c) Modernizr.prefixedCSS(d) Modernizr.prefixedThis question was posed to me in final exam.My question is taken from Adding HTML features safely with Modernizr in portion HTML Images & Web Page Files of HTML |
|
Answer» The correct option is (a) Modernizr._prefixes |
|
| 41. |
Which process is used for the creation of the end result?(a) render()(b) compile()(c) eval(x)(d) encodeURI()This question was posed to me during an online interview.My doubt is from Using Image Sprites & Standardizing Client-Side Templating topic in portion HTML Images & Web Page Files of HTML |
|
Answer» RIGHT ANSWER is (a) render() Explanation: render() process creates the end result by putting actual DATA in the template. It means that the placeholders are REPLACED with the previous actual data, COMPILE() is used for translating and compiling a template into a JavaScript function. |
|
| 42. |
insertId attribute returns ____________(a) column ID(b) row ID(c) user’s ID(d) database IDI have been asked this question in quiz.Origin of the question is Web Databases topic in division HTML Images & Web Page Files of HTML |
|
Answer» RIGHT answer is (b) row ID Easy EXPLANATION: insertId attribute returns the row ID of the row of the INSERTED SQLResultSet object’s SQL statement that is inserted into the DATABASE. If multiple rows are inserted then the ID of the LAST row will be returned. If there is no row then INVALID_ACCESS_ERR exception will be raised. |
|
| 43. |
Which object is created for read-only transaction?(a) Foo object(b) SQLTransactionSync(c) DatabaseSync object(d) SQLTransactionI had been asked this question during an online exam.My question is from Web Databases topic in division HTML Images & Web Page Files of HTML |
|
Answer» The correct answer is (B) SQLTransactionSync |
|
| 44. |
What is the URL Encode for tab character?(a) %09(b) %08(c) %0d(d) %0aThe question was posed to me in final exam.My doubt is from URL Encoding topic in division HTML Images & Web Page Files of HTML |
|
Answer» CORRECT OPTION is (a) %09 Best explanation: For tab character URL encode is %09, its Decimal value is 9 and Hex value is 09, %08 is URL encode for backspace, its Decimal value is 8 and Hex value is 08, %0d is URL Encode for carriage return, Decimal value is 13 and Hex value is 0d, %0a is URL encode for linefeed, Decimal value is 10 and Hex value is 0a. |
|
| 45. |
Which of the following check support for non-alpha, lossy webp?(a) Webp(b) Webp Lossless(c) Webp Animation(d) Webp AlphaI had been asked this question in an online quiz.The query is from Adding HTML features safely with Modernizr in chapter HTML Images & Web Page Files of HTML |
|
Answer» The correct ANSWER is (b) WEBP Lossless |
|
| 46. |
JPEG format is useful when ___________(a) there are so many colors in the picture(b) there are not so many colors in the picture(c) we want to show more brightness(d) when we want to show hazinessThe question was asked during an online exam.I need to ask this question from Optimization of Images in division HTML Images & Web Page Files of HTML |
|
Answer» Right CHOICE is (a) there are so many colors in the picture |
|
| 47. |
Templates can’t be placed inside ______________(a) (b) (c) (d) This question was addressed to me by my college professor while I was bunking the class.My enquiry is from Using Image Sprites & Standardizing Client-Side Templating topic in division HTML Images & Web Page Files of HTML |
|
Answer» Correct option is (d) |
|
| 48. |
For image compression which tool is helpful?(a) WordPress cache enable a plugin(b) Optimus wordpress plugin(c) Glup-uglify(d) Speed test toolI have been asked this question by my college professor while I was bunking the class.I'm obligated to ask this question of Web Performance Optimization topic in section HTML Images & Web Page Files of HTML |
|
Answer» The correct option is (b) Optimus wordpress plugin |
|
| 49. |
What is not the work of database optimization?(a) cleaning out old tables(b) creating indexes(c) optimize datatype(d) delete databaseI have been asked this question in class test.My question is taken from Web Performance Optimization in chapter HTML Images & Web Page Files of HTML |
|
Answer» Right option is (d) delete database |
|
| 50. |
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 addressed to me during a job interview.This intriguing question comes from Adding HTML features safely with Modernizr topic in portion HTML Images & Web Page Files of HTML |
|
Answer» Right choice is (d) Sizes |
|