Question 1
Which of the following is the correct way to define immediately invoked function expressions in javascript language?
(function () { return value; } );
(function () { return value; } ) ();
function () { return value; } ();
All of these
Which of the following is the correct way to define immediately invoked function expressions in javascript language?
(function () { return value; } );
(function () { return value; } ) ();
function () { return value; } ();
All of these
Say you are trying to make an app where users can play “bullet” chess with each other - the entire game has to be completed within 40 seconds. Which one of the following design considerations is most important here?
The size of the images used for the chess board should be kept small.
The UI should be completely ephemeral and hold all state only locally.
Every move should be transmitted back to the server with as little latency as possible.
The app requires a powerful desktop browser with GPU.
Which of the following statement(s) is/are true regarding javascript language?
The variables declared using “let” keyword are not hoisted.
The variables declared using “let” keyword are not accessible until the code execution reaches the declaration / initialization for that particular variable.
JavaScript is a weakly typed and dynamically typed language.
All of these
Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.
The IIT Madras BS Modern Application Development II (MAD 2) Quiz 1 paper sat on 5 Jun 2022, in the May 2022 term: 16 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.
| Feature | MAD 2 Quiz 1 5 Jun 2022 at a glance |
|---|---|
| Term | May 2022 term |
| Subject | Modern Application Development II |
| Course code | BSCS2006 |
| Questions | 16 |
| Marks | 50 |
| Duration | 120 min |
| MCQ | 14 |
| MSQ | 2 |
| Official paper | IIT M DIPLOMA QUIZ1 EXAM QPE1 05 Jun 2022 IBA |
| Negative marking | No negative marking. |
| Updated |