AppDev2 Question Paper PDF
Document Details
![UnrestrictedSeattle4369](https://quizgecko.com/images/avatars/avatar-6.webp)
Uploaded by UnrestrictedSeattle4369
Tags
Related
- AJAX Notes PDF
- JSE Certified Entry-Level JavaScript Programmer (Exam JSE-40-01) PDF
- BCA Web Technology Exam November 2022 PDF
- Terminal Exam - Web Engg - SP23 - Solution (1) PDF
- MCADD-503 Advanced Web Designing Exam May 2024 PDF
- Advanced Web Programming (AWP) Exam - University Ferhat Abbas Setif - January 2024 PDF
Summary
This document appears to be a past paper for the AppDev2 exam, focusing on subjects such as JavaScript. It contains a variety of multiple-choice and multiple-select questions. These are relevant to candidates studying for a Diploma in Modern Application Development II.
Full Transcript
AppDev2 Section Id : 64065330336 Section Number : 10 Section type : Online Mandatory or Optional : Mandatory Number of Questions : 17 Nu...
AppDev2 Section Id : 64065330336 Section Number : 10 Section type : Online Mandatory or Optional : Mandatory Number of Questions : 17 Number of Questions to be attempted : 17 Section Marks : 50 Display Number Panel : Yes Group All Questions : No Enable Mark as Answered Mark for Review and Yes Clear Response : Maximum Instruction Time : 0 Sub-Section Number : 1 Sub-Section Id : 64065367697 Question Shuffling Allowed : No Is Section Default? : null Question Number : 152 Question Id : 640653470078 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 0 Question Label : Multiple Choice Question THIS IS QUESTION PAPER FOR THE SUBJECT "DIPLOMA LEVEL : MODERN APPLICATION DEVELOPMENT II" ARE YOU SURE YOU HAVE TO WRITE EXAM FOR THIS SUBJECT? CROSS CHECK YOUR HALL TICKET TO CONFIRM THE SUBJECTS TO BE WRITTEN. (IF IT IS NOT THE CORRECT SUBJECT, PLS CHECK THE SECTION AT THE TOP FOR THE SUBJECTS REGISTERED BY YOU) Options : 6406531562151. YES 6406531562152. NO Sub-Section Number : 2 Sub-Section Id : 64065367698 Question Shuffling Allowed : Yes Is Section Default? : null Question Number : 153 Question Id : 640653470079 Question Type : MSQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 3 Selectable Option : 0 Question Label : Multiple Select Question Which of the following statement(s) is/are false regarding javascript language? Options : 6406531562153. The “undefined” and “null” are primitive data types. 6406531562154. Event capturing is the default behaviour for event propagation. 6406531562155. The language uses a call stack to execute statements of a program. 6406531562156. The “pass” is a keyword in the language. Question Number : 154 Question Id : 640653470094 Question Type : MSQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 3 Selectable Option : 0 Question Label : Multiple Select Question Which of the following statement(s) is/are true? Options : 6406531562213. The “v-show” directive has higher rendering cost than “v-if”. 6406531562214. The “v-if” directive has higher rendering cost than “v-show”. 6406531562215. The “v-show” directive has higher toggle cost than “v-if”. 6406531562216. The “v-if” directive has higher toggle cost than “v-show”. Sub-Section Number : 3 Sub-Section Id : 64065367699 Question Shuffling Allowed : Yes Is Section Default? : null Question Number : 155 Question Id : 640653470080 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 2 Question Label : Multiple Choice Question Which of the following is the correct definition of an immediately invoked function expression (IIFE)? Options : 6406531562157. let x = function () { return “IIFE” } 6406531562158. function () { return “IIFE” } 6406531562159. (function () { return “IIFE” } ) () 6406531562160. function () { return “IIFE” } () Question Number : 156 Question Id : 640653470087 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 2 Question Label : Multiple Choice Question Consider the following two programs. What will be the output of the first and second program, respectively? Options : 6406531562185. 8, 10 6406531562186. Error: Identifier ‘x’ is already declared, Error: Identifier ‘y’ is already declared 6406531562187. 8, Error: Identifier ‘y’ is already declared 6406531562188. Error: Identifier ‘x’ is already declared, 10 Sub-Section Number : 4 Sub-Section Id : 64065367700 Question Shuffling Allowed : Yes Is Section Default? : null Question Number : 157 Question Id : 640653470081 Question Type : MSQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 2 Selectable Option : 0 Question Label : Multiple Select Question Which of the following is/are not higher order function(s) in javascript language? Options : 6406531562161. call() 6406531562162. map() 6406531562163. slice() 6406531562164. find() Question Number : 158 Question Id : 640653470088 Question Type : MSQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 2 Selectable Option : 0 Question Label : Multiple Select Question Which of the following statement(s) is/are true? Options : 6406531562189. A variable declared using var can be re-declared and updated within its scope. 6406531562190. A variable declared using let can be re-declared and updated within its scope. 6406531562191. A variable declared using const can be re-declared, but cannot be updated within its scope. 6406531562192. A variable declared using let cannot be re-declared, but can be updated within its scope. Sub-Section Number : 5 Sub-Section Id : 64065367701 Question Shuffling Allowed : Yes Is Section Default? : null Question Number : 159 Question Id : 640653470082 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 3 Question Label : Multiple Choice Question Consider the below javascript program, and predict the output, if executed. Options : 6406531562165. Number is: 20 6406531562166. Number is: 10 6406531562167. Number is: undefined 6406531562168. Number is: null Question Number : 160 Question Id : 640653470083 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 3 Question Label : Multiple Choice Question Consider the below javascript program, and predict the output, if executed in a REPL environment. Options : 6406531562169. 10 20 10 30 6406531562170. 10 20 10 10 6406531562171. 10 20 10 undefined 6406531562172. 20 20 30 30 Question Number : 161 Question Id : 640653470085 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 3 Question Label : Multiple Choice Question Consider the following Vue application with markup “index.html” and javascript file “app.js”. Suppose if you open the file “index.html” in a browser, what will be rendered by the browser? Options : 6406531562177. Welcome to the App Development I course quiz exam !! 6406531562178. Welcome to the App Development II course quiz exam !! 6406531562179. Welcome to the Python course quiz exam !! 6406531562180. Welcome to the course quiz exam !! Question Number : 162 Question Id : 640653470089 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 3 Question Label : Multiple Choice Question Consider the following javascript program and predict the output. Options : 6406531562193. Y is not defined 7 6406531562194. 9 X is not defined 6406531562195. 7 9 6406531562196. Y is not defined X is not defined Question Number : 163 Question Id : 640653470092 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 3 Question Label : Multiple Choice Question Consider the following Vue application with markup “index.html” and javascript file “app.js”. Suppose if you open the file “index.html” in a browser, what will be rendered inside the div element with ID “app”? Options : 6406531562205. 9 6406531562206. 5 6406531562207. 10 6406531562208. 6 Question Number : 164 Question Id : 640653470093 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 3 Question Label : Multiple Choice Question Consider the following Vue application with markup “index.html” and javascript file “app.js”. Suppose a developer wants to create a feature that whenever a user clicks on the span element with ID ‘like’ in like component, it increases the ‘’likes’ data of Post component by 1. Which of the following code is best suited for “code1” placeholder? Options : 6406531562209. @click=”emit(‘like’)” 6406531562210. click = “emit(‘like’)” 6406531562211. @click=”$emit(‘like’)” 6406531562212. click = “$emit(‘like’)” Sub-Section Number : 6 Sub-Section Id : 64065367702 Question Shuffling Allowed : Yes Is Section Default? : null Question Number : 165 Question Id : 640653470084 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 4.5 Question Label : Multiple Choice Question Consider the below javascript program, and predict the output, if executed in a script and REPL environment. Options : 6406531562173. For Script: First: 50 Second: 100 For REPL: First: 50 Second: 50 6406531562174. For Script: First: 50 Second: undefined For REPL: First: 50 Second: 100 6406531562175. For Script: First: 50 Second: 100 For REPL: First: 50 Second: undefined 6406531562176. For Script: First: 50 Second: undefined For REPL: First: 50 Second: 50 Question Number : 166 Question Id : 640653470086 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 4.5 Question Label : Multiple Choice Question Consider the below javascript program, and predict how many times the text “Abhi” will be shown on the console, till the program execution is completed. Also, predict the minimum time the program will take to display the text “Abhi” 12 times on the console. Options : 6406531562181. The text “Abhi” will be shown 10 times The program will not display the text “Abhi” 12 times 6406531562182. The text “Abhi” will be shown 15 times The program will take a minimum of 3 seconds to display the text “Abhi” 12 times 6406531562183. The text “Abhi” will be shown 15 times The program will take a minimum of 2.5 seconds to display the text “Abhi” 12 times 6406531562184. The text “Abhi” will be shown 10 times The program will take a minimum of 1.5 seconds to display the text “Abhi” 12 times Question Number : 167 Question Id : 640653470090 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 4.5 Question Label : Multiple Choice Question Predict the output of following javascript code. Options : 6406531562197. Something went wrong 6406531562198. 70 75 70 6406531562199. 70 75 undefined 6406531562200. Undefined undefined undefined Question Number : 168 Question Id : 640653470091 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 4.5 Question Label : Multiple Choice Question Consider the following Vue application with markup “index.html” and javascript file “app.js”. What will be the text color of the element having ID “part1Id” and “part2Id”, respectively, when the user loads the application for the first time? Options : 6406531562201. Green, Red 6406531562202. Red, Green 6406531562203. Red, Red 6406531562204. Green, Green MLT Section Id : 64065330337 Section Number : 11 Section type : Online Mandatory or Optional : Mandatory Number of Questions : 17 Number of Questions to be attempted : 17 Section Marks : 100 Display Number Panel : Yes Group All Questions : No Enable Mark as Answered Mark for Review and Yes Clear Response : Maximum Instruction Time : 0 Sub-Section Number : 1 Sub-Section Id : 64065367703 Question Shuffling Allowed : No Is Section Default? : null Question Number : 169 Question Id : 640653470095 Question Type : MCQ Is Question Mandatory : No Calculator : None Response Time : N.A Think Time : N.A Minimum Instruction Time : 0 Correct Marks : 0 Question Label : Multiple Choice Question THIS IS QUESTION PAPER FOR THE SUBJECT "DIPLOMA LEVEL : MACHINE LEARNING TECHNIQUES"