wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

NeuroNex'25 Round 1

Total questions: 20

Worksheet time: 7mins

Name
Class
Date
1.

Output: The webpage background becomes light blue.

Input: Which CSS code gives this output?

a)

<html>lightblue</html>

b)

background: lightblue;

c)

body {

color: lightblue;

}

d)

body {

background-color: lightblue;

}

2.

Output: (Image)

Input: Which loop prints these names?

a)

for name in ['Ananya', 'Rahul', 'Sneha']:

print(name)

b)

print(['Ananya', 'Rahul', 'Sneha'])

c)

for name in ('Ananya', 'Rahul', 'Sneha')

print(name)

d)

print('Ananya Rahul Sneha')

3.

Output: 95
Input: Find the highest marks.

a)

SELECT MAX(Marks) FROM Students;

b)

SELECT Marks FROM Students ORDER BY Marks DESC;

c)

SELECT MIN(Marks) FROM Students;

d)

SELECT TOP 1 Marks FROM Students;

4.

Output: AI&DS

Input: Which code gives this output?

a)

dept = "AI" + "&DS"

print(dept)

b)

print("AI" "&DS")

c)

print("AI"&"DS")

d)

dept = "AI", "&DS"

print(dept)

5.

Output: A heading that says:
👉 Welcome to AI&DS Department

Input: Which HTML code produces this output?

a)

<p>Welcome to AI&DS Department</p>

b)

<head>Welcome to AI&DS Department</head>

c)

<title>Welcome to AI&DS Department</title>

d)

<h1>Welcome to AI&DS Department</h1>

6.

Output: 5
Input: How many students are in the table?

a)

SELECT * FROM Students;

b)

SELECT COUNT(*) FROM Students;

c)

SELECT COUNT(Name) FROM Students WHERE Department='AI&DS';

d)

SELECT MAX(Marks) FROM Students;

7.

Output: 10

Input: Which code gives this output?

a)

x = 5

y = 5

print(x + y)

b)

x = '5'

y = '5'

print(x + y)

c)

x = 5

y = 2

print(x * y)

d)

x = 10

print(x / 2)

8.

Output: Deletes all AI&DS students.
Input:

a)

DELETE FROM Students WHERE Department='AI&DS';

b)

DROP TABLE Students;

c)

DELETE * FROM Students;

d)

DELETE Department='AI&DS';

9.

Output: A text box where the user can type their name.

Input: Which HTML code gives this output?

a)

<input>Enter your name</input>

b)

<textbox>Enter your name</textbox>

c)

<input type="text" placeholder="Enter your name">

d)

<field>Enter your name</field>

10.

Output: Even

Input: Which code gives this output?

a)

n = 10

if n % 2 == 0:

print("Even")

else:

print("Odd")

b)

n = 11

if n // 2:

print("Even")

else:

print("Odd")

c)

n = 10

if n / 2 == 5:

print("Odd")

else:

print("Even")

d)

print("Even" if n == 10 else "Odd")

11.

Output: A link labeled "Visit Google" that goes to https://www.google.com

Input: Which HTML code gives this output?

12.

Output: HELLO

Input: Which code gives this output?

a)

print("HELLO".capitalize())

b)

text = "HELLO"

print(text.lower())

c)

text = "hello"

print(text.upper())

d)

print(upper("hello"))

13.

Output: A button labeled "Click Me"

Input: Which code gives this output?

a)

<click>Click Me</click>

b)

<button>Click Me</button>

c)

<input type="text" value="Click Me">

d)

<btn>Click Me</btn>

14.

Output: Python

Input: Which code gives this output?

a)

s = "Python Programming"

print(s[6:])

b)

s = "Python Programming"

print(s[7:])

c)

s = "Python Programming"

print(s[::2])

d)

s = "Python Programming"

print(s[:6])

15.

Output: 4

Input: Which code produces this output?

a)

print(sum(2,2))

b)

def add(a, b):

return a + b

print(add(2, 2))

c)

def add(a, b):

print(a + b)

add(2)

d)

a, b = 2, 2

print(a * b)

16.

Output: 9

Input: Which code produces this output?

a)

print(max(3, 9, 5))

b)

print(min(3, 9, 5))

c)

print(sum(3, 9, 5))

d)

print(3 + 9 - 5)

17.

Output: 6

Input: Which code prints this?

a)

nums = [1, 2, 3]

print(nums)

b)

nums = [1, 2, 3]

print(len(nums))

c)

nums = [1, 2, 3]

print(sum(nums))

d)

nums = [1, 2, 3]

print(nums[1] + 3)

18.

Output: True

Input: Which code prints this?

a)

x = 5

y = 10

print(x > y)

b)

x = y

print(True)

c)

x = 5

y = 10

print(x < y)

d)

x, y = 10, 5

print(x < y)

19.

Output:

apple

banana

grape

Input: Which code gives this output?

a)

for fruits in ["apple", "banana", "grape"]:

print(fruits[0])

b)

print(fruits)

c)

print(["apple", "banana", "grape"])

d)

fruits = ["apple", "banana", "grape"]

for f in fruits:

print(f)

20.

Output: 3.14

Input: Which code gives this output?

a)

pi = 3.14

print(pi)

b)

print("pi")

c)

pi = "3.14"

print(pi + 1)

d)

print(3,14)