Question 2
Read the statements given below carefully and select the correct option.
Statement 1: If an element is styled externally using two different classes and an ID, then for the same attribute, it will always acquire styling from the latest style in order.
Statement 2: If an element is styled internally using ID and class selector as well as using inline styling for the same style attribute, then it will acquire styling from the ID selector.
Both statements 1 and 2 are correct
Both statements 1 and 2 are incorrect
Statement 1 is correct but statement 2 is incorrect
Statement 2 is correct but statement 1 is incorrect
Question 3
Consider two python files, one.py and two.py with following code snippets.
File1: one.py
import sysimport twoprint(f'{sys.argv[0]} {sys.argv[1]}')File2: two.py
import sysprint(f'{sys.argv[3]} {sys.argv[2]}')What is the output of the following command “python one.py two.py one.py two.py ”?
29 more questions in this paper
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.
More on the MAD 1 End Term 24 Dec 2023 Set FDD1 paper
The IIT Madras BS Modern Application Development I (MAD 1) End Term paper sat on 24 Dec 2023, in the September 2023 term, set FDD1: 32 questions for 100 marks in 180 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 1 End Term 24 Dec 2023 Set FDD1 at a glance |
|---|---|
| Term | September 2023 term |
| Subject | Modern Application Development I |
| Course code | BSCS2003 |
| Questions | 32 |
| Marks | 100 |
| Duration | 180 min |
| MCQ | 27 |
| MSQ | 5 |
| Official paper | IIT M DIPLOMA FN EXAM FDD1 24 Dec 2023 |
| Negative marking | No negative marking. |
| Updated |