Class XII Computer Science Half-Yearly Exam Sample Paper Quiz

PeacefulMorganite avatar
PeacefulMorganite
·
·
Download

Start Quiz

Study Flashcards

5 Questions

What is the correct way to write a function mul( ) which accepts a list?

def mul(lst):

In the code 'for i in range(len(string))', what does 'len(string)' represent?

Length of the string

What is the correct syntax to access the 'FRONT' element from the list NAV?

NAV[1]

In the code 'for S in range[0, 8]:', what is the correct way to iterate through the range?

for S in range(0, 8):

What is the correct way to define the list 'even_L = [10, 22, 24, 26]'?

even_L = [10, 22, 24, 26]

Test your knowledge with this Class XII Computer Science sample paper for the half-yearly exam. Practice with questions on programming, algorithms, data structures, and more.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser