English

Arts (English Medium) Class 12 - CBSE Important Questions

Advertisements
Subjects
Topics
Subjects
Popular subjects
Topics

Please select a subject first

Advertisements
Advertisements
< prev  1641 to 1660 of 3710  next > 

Enumerate any five rights of a consumer under the Consumer Protection Act, 2019.

Appears in 1 question paper
Chapter: [2.4] Consumer Protection
Concept: Consumer Protection Act 1986 (COPRA)

Enumerate any five responsibilities of a Consumer Protection Act, 2019.

Appears in 1 question paper
Chapter: [2.4] Consumer Protection
Concept: Consumer Protection Act 1986 (COPRA)

Mayank purchased a pack of chocolates of a renowned brand for his daughter from a shop in the nearby market. After consuming the chocolates, his daughter fell sick. He filed a case with the District forum against the renowned brand. He lost the case because of a mistake that he could not provide proof of purchase. What should be kept in mind by a consumer while purchasing, using and consuming goods and services apart from avoiding the mistake committed by Mayank, in order to enable him/her to achieve the objective of consumer protection? Enumerate any four points.

Appears in 1 question paper
Chapter: [2.4] Consumer Protection
Concept: Concept of Consumer Protection

State when can a consumer complain directly in the 'State Commission' and 'National Commission'? If the consumer is not satisfied with the decision of 'The State Commission' and National Commission' where can he/she appeal?

Appears in 1 question paper
Chapter: [2.4] Consumer Protection
Concept: Legal Redressal Machinery Under Consumer Protection Act 1986

As per the Consumer Protection Act, 2019, for what value of defective goods or deficient services can a complaint be filed at the State Commission?

Appears in 1 question paper
Chapter: [2.4] Consumer Protection
Concept: Legal Redressal Machinery Under Consumer Protection Act 1986

Where can an appeal against the order of the National Commission be made if the aggrieved party is not satisfied by its order?

Appears in 1 question paper
Chapter: [2.4] Consumer Protection
Concept: Legal Redressal Machinery Under Consumer Protection Act 1986

Which of the following is an invalid datatype in Python?

Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Introduction of Exception Handling in Python

Which of the following statement(s) would give an error after executing the following code?

S="Welcome to class XII" # Statement 1
print(S)       #Statement 2
S="Thank you"    # Statement 3
S[0]= '@'      # Statement 4
S=S+"Thank you"   # Statement 5
Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Built-in Exceptions in Python

Rao has written a code to input a number and check whether it is prime or not. His code is having errors. Rewrite the correct code and underline the corrections made.

def prime():
n=int(input("Enter number to check :: ")
for i in range (2, n//2):
if n%i=0:
print("Number is not prime \n")
break
else:
print("Number is prime \n’)
Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Built-in Exceptions in Python

Predict the output of the Python code given below:

def Diff(N1,N2):
 if N1>N2:
 return N1-N2
 else:
 return N2-N1

NUM= [10,23,14,54,32]
for CNT in range (4,0,-1):
 A=NUM[CNT]
 B=NUM[CNT-1]
 print(Diff(A,B),'#', end=' ')
Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Handling Exceptions in Python

Atharva is a Python programmer working on a program to find and return the maximum value from the list. The code written below has syntactical errors. Rewrite the correct code and underline the corrections made.

def max_num (L):
        max=L(O)
        for a in L:
                if a > max
                 max=a
        return max
Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Syntax Errors in Python

Which of the following operators will return either True or False?

Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Introduction of Exception Handling in Python

“In a Python program, if a break statement is given in a nested loop, it terminates the execution of all loops in one go.”

Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Handling Exceptions in Python

An exception may be raised even if the program is syntactically correct.

Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Exceptions in Python

The code given below accepts a number as an argument and returns the reverse number. Observe the following code carefully and rewrite it after removing all syntax and logical errors. Underline all the corrections made.

define revNumber (num) :
      rev = 0
      rem = 0
      While num > 0:
            rem ==num %10
            rev = rev*10 + rem
            num = num//10
            return rev
print (revNumber (1234))
Appears in 1 question paper
Chapter: [1] Exception Handling in Python
Concept: Syntax Errors in Python

Given the following dictionaries.

dict_exam={"Exam":"AISSCE", "Year":2023}
dict_result={"Total":500, "Pass_Marks":165}

Which statement will merge the contents of both dictionaries?

Appears in 1 question paper
Chapter: [2] File Handling in Python
Concept: The Pickle Module in Python

Which of the following mode in the file opening statement results or generates an error if the file does not exist?

Appears in 1 question paper
Chapter: [2] File Handling in Python
Concept: Reading from a Text File in Python

The correct syntax of seek() is ______

Appears in 1 question paper
Chapter: [2] File Handling in Python
Concept: Setting Offsets in a File in python

Assertion (A): CSV (Comma Separated Values) is a file format for data storage that looks like a text file.

Reason (R): The information is organized with one record on each line and each field is separated by a comma.

Appears in 1 question paper
Chapter: [2] File Handling in Python
Concept: Types of Files in Python

Write a method COUNTLINES() in Python to read lines from the text file ‘TESTFILE.TXT’ and display the lines which do not start with any vowel.

Example:

If the file content is as follows:

An apple a day keeps the doctor away.
We all pray for everyone’s safety.
A marked difference will come in our country.

The COUNTLINES() function should display the output as:

The number of lines not starting with any vowel - 1

Appears in 1 question paper
Chapter: [2] File Handling in Python
Concept: Reading from a Text File in Python
< prev  1641 to 1660 of 3710  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×