Tag: Today
-
CSS Questions & Answers – Selectors
CSS Multiple Choice Questions & Answers (MCQs) focuses on “Selectors”. Q 1. What type of selector is used in this case? p {line-height: 150%;} A. element SelectorsB. class SelectorsC. id SelectorsD. none of the mentioned Show Answer Answer:-A. element Selectors Explanation These selectors are called element selectors and are simply used as follows: element-name {…
-
CSS Questions & Answers – Advanced Selectors
CSS Multiple Choice Questions & Answers focuses on “Advanced Selectors”. Q 1. Which of the following selector selects all elements of E that have the attribute attr that end with the given value?A. E[attr^=value]B. E[attr*=value]C. E[attr$=value]D. none of the mentioned Show Answer Answer:-C. E[attr$=value] Explanation Example: p[title$=”!”] {color: red;} Q 2. Which of the following…
-
Current Affairs Quiz – November, 2024
Q 1.Which state government has launched the Elevate 2024 scheme for early stage startups? A. KarnatakaB. RajasthanC. MaharashtraD. Jharkhand Show Answer Answer:-A. Karnataka Explanation Karnataka launched ELEVATE 2024 and Karnataka Acceleration Network (KAN) to support start-ups. ELEVATE 2024 is a grant scheme offering up to ₹50 lakh per start-up to help early-stage companies with seed…
-
Python Questions and Answers – Lists – 7
Python Code Output Questions Python Multiple Choice Questions & Answers (MCQs) focuses on “Lists-7”. Q 1.What will be the output of the following Python code? a=[“Apple”,”Ball”,”Cobra”] a.sort(key=len) print(a) A. Invalid syntax for sort() B. [‘Ball’, ‘Apple’, ‘Cobra’] C.[‘Apple’, ‘Ball’, ‘Cobra’] D.[‘Cobra’, ‘Apple’, ‘Ball’] Show Answer Answer:-B.[‘Ball’, ‘Apple’, ‘Cobra’] Explanation The syntax isn’t invalid and the…
-
Python Questions and Answers – Lists – 4
Python Programming Questions & Answers focuses on “Lists”. Q 1. What will be the output of the following Python code? def f(i, values = []): values.append(i) return values f(1)f(2)v = f(3)print(v) A. [1] [2] [3]B. [1] [1, 2] [1, 2, 3]C. [1, 2, 3]D. 1 2 3 Show Answer Answer:-C. [1, 2, 3] Explanation Execute in…
-
List of Indian States and Capitals
List of Indian States and Capitals List of Indian States and Capitals S.NO State Capitals CM Governor 1 Andhra Pradesh Amaravati YS Jagan Mohan Reddy Biswa Bhusan Harichandan 2 Arunachal Pradesh Itanagar Pema Khandu B. D. Mishra 3 Assam Dispur Himanta Biswa Sarma Jagdish Mukhi 4 Bihar Patna Nitish Kumar Phagu Chauhan 5 Chhattisgarh Raipur…
-
Operators and expressions of JavaScript
Q 1. See the given code of JavaScript and choose the correct output from the following: var string1 = “40”; varvalueinit=50; alert( string1 +intvalue); A. 90 B. 4050 C. 4090 D. Exception Show Answer Answer:-B. 4050 Explanation In JavaScript, the alert method does the typecasting and converts the value of the variable “valueinit” to a string after that it concatenates…