Tag: Today

  • CSS Questions & Answers – Selectors

    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 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…

  • CSS Questions & Answers – Applying Style to a Document

    CSS Questions & Answers – Applying Style to a Document

    CSS Interview Questions and Answers for freshers focuses on “Applying Style to a Document”. Q 1. Which of the following is the correct way to applying style to a document?A. Use an external style sheet, either by importing it or by linking to itB. Directly embed a document-wide style in the head element of the…

  • Current Affairs Quiz – November, 2024

    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 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 – 5

    Python Questions and Answers – Lists – 5

    Python Questions and Answers – Lists – 5 Python Question Paper focuses on “Lists”. Q 1. What will be the output of the following Python code? print(“Hello, World!”[7:]) values = [[3, 4, 5, 1], [33, 6, 1, 2]]   v = values[0][0] for lst in values: for element in lst: if v > element: v…

  • Python Questions and Answers – Lists – 4

    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…

  • Python Questions and Answers – Lists – 3

    Python Questions and Answers – Lists – 3

    Python Programming Questions & Answers focuses on “Lists”. Q 1. Suppose list1 is [3, 4, 5, 20, 5, 25, 1, 3], what is list1 after list1.reverse()?A. [3, 4, 5, 20, 5, 25, 1, 3]B. [1, 3, 3, 4, 5, 5, 20, 25]C. [25, 20, 5, 5, 4, 3, 3, 1]D. [3, 1, 25, 5, 20,…

  • List of Indian States and Capitals

    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

    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…

You cannot copy content of this page