हिंदी

Commerce (English Medium) कक्षा १२ - CBSE Question Bank Solutions

Advertisements
[object Object]
[object Object]
विषयों
मुख्य विषय
अध्याय

Please select a subject first

Advertisements
Advertisements
< prev  1941 to 1960 of 19095  next > 

When are the following built-in exceptions raised? Give examples to support your answer.

ZeroDivisionError

[1] Exception Handling in Python
Chapter: [1] Exception Handling in Python
Concept: undefined >> undefined

Differentiate between write() and writelines().

[2] File Handling in Python
Chapter: [2] File Handling in Python
Concept: undefined >> undefined

Advertisements

Consider the following lists:

List 1:

2 3 5 7 11

List 2: 

11 7 5 3 2

If the lists are sorted using Insertion sort then which of the lists List1 or List 2 will make the minimum number of comparisons? Justify using diagrammatic representation.

[5] Sorting
Chapter: [5] Sorting
Concept: undefined >> undefined

During admission in a course, the names of the students are inserted in ascending order. Thus, performing the sorting operation at the time of inserting elements in a list. Identify the type of sorting technique being used and write a program using a user defined function that is invoked every time a name is input and stores the name in ascending order of names in the list.

[5] Sorting
Chapter: [5] Sorting
Concept: undefined >> undefined

Use the hash function: h(element) = element%11 to store the collection of numbers: [44, 121, 55, 33, 110, 77, 22, 66] in a hash table. Display the hash table created. Search if the values 11, 44, 88, and 121 are present in the hash table, and display the search results.

[6] Searching
Chapter: [6] Searching
Concept: undefined >> undefined

Write a Python program by considering a mapping of the list of countries and their capital cities such as:

CountryCapital= {'India':'New Delhi','UK':
                             'London','France':'Paris',
                             'Switzerland': 'Berne',
                             'Australia': 'Canberra'}

Let us presume that our hash function is the length of the Country Name. Take two lists of appropriate size: one for keys (Country) and one for values (Capital). To put an element in the hash table, compute its hash code by counting the number of characters in the Country, then put the key and value in both lists at the corresponding indices. For example, India has a hash code of 5. So, we store India at the 5th position (index 4) in the keys list, New Delhi at the 5th position (index 4) in the values list, and so on. So that we end up with:

hash index = length of key - 1 List of Keys List of Values
0 None None
1 UK London
2 None None
3 Cuba Havana
4 India New Delhi
5 France Paris
6 None None
7 None None
8 Australia Canberra
9 None None
10 Switzerland Berne

Now search the capital of India, France, and the USA in the hash table and display your result.

[6] Searching
Chapter: [6] Searching
Concept: undefined >> undefined

A school that has 500 students wants to identify beneficiaries of the merit-cum-means scholarship, achieving more than 75% for two consecutive years and having a family income of less than 5 lakh per annum. Briefly describe data processing steps to be taken to beneficial prepare the list of schools.

[7] Understanding Data
Chapter: [7] Understanding Data
Concept: undefined >> undefined

Mention any two main advantages of using a network of computing devices.

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

Write down the names of a few commonly used networking devices.

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

How is tree topology different from bus topology?

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

What do you mean by a modem? Why is it used?

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

Explain the following device:

Switch

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

Explain the following device:

Repeater

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

Explain the following device:

Gateway

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

Explain the following device:

Router

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

Explain the following device:

NIC

[10] Computer Networks
Chapter: [10] Computer Networks
Concept: undefined >> undefined

Which communication mode allows communication in both directions simultaneously?

[11] Data Communication
Chapter: [11] Data Communication
Concept: undefined >> undefined

______ is a communication methodology designed to deliver both voice and multimedia communications over Internet protocol.

[11] Data Communication
Chapter: [11] Data Communication
Concept: undefined >> undefined

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
[1] Exception Handling in Python
Chapter: [1] Exception Handling in Python
Concept: undefined >> undefined

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’)
[1] Exception Handling in Python
Chapter: [1] Exception Handling in Python
Concept: undefined >> undefined
< prev  1941 to 1960 of 19095  next > 
Advertisements
Advertisements
CBSE Commerce (English Medium) कक्षा १२ Question Bank Solutions
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Accountancy
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Business Studies
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Computer Science (Python)
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Economics
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ English Core
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ English Elective - NCERT
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Entrepreneurship
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Geography
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Hindi (Core)
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Hindi (Elective)
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ History
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Informatics Practices
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Mathematics
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Physical Education
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Political Science
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Psychology
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Sanskrit (Core)
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Sanskrit (Elective)
Question Bank Solutions for CBSE Commerce (English Medium) कक्षा १२ Sociology
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×