हिंदी

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

Advertisements
[object Object]
[object Object]
विषयों
मुख्य विषय
अध्याय
Advertisements
Advertisements
Computer Science (Python)
< prev  21 to 40 of 219  next > 

Write a program that takes as input a list having a mix of 10 negative and positive numbers and a key value. Apply linear search to find whether the key is present in the list or not. If the key is present it should display the position of the key in the list otherwise it should print an appropriate message. Run the program for at least 3 different keys and note the result.

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

Following is a list of unsorted/unordered numbers:

[50, 31, 21, 28, 72, 41, 73, 93, 68, 43, 45, 78, 5, 17, 97, 71, 69, 61, 88, 75, 99, 44, 55, 9]

  • Use linear search to determine the position of 1, 5, 55, and 99 in the list. Also, note the number of key comparisons required to find each of these numbers in the list.
  • Use a Python function to sort/arrange the list in ascending order.
  • Again, use linear search to determine the position of 1, 5, 55, and 99 in the list and note the number of key comparisons required to find these numbers in the list.
  • Use binary search to determine the position of 1, 5, 55, and 99 in the sorted list. Record the number of iterations required in each case.
[6] Searching
Chapter: [6] Searching
Concept: undefined >> undefined

Advertisements

Write a program that takes as input the following unsorted list of English words:

[Perfect, Stupendous, Wondrous, Gorgeous, Awesome, Mirthful, Fabulous, Splendid, Incredible, Outstanding, Propitious, Remarkable, Stellar, Unbelievable, Super, Amazing].

  • Use linear search to find the position of Amazing, Perfect, Great, and Wondrous in the list. Also, note the number of key comparisons required to find these words in the list.
  • Use a Python function to sort the list.
  • Again, use linear search to determine the position of Amazing, Perfect, Great, and Wondrous in the list and note the number of key comparisons required to find these words in the list.
  • Use binary search to determine the position of Amazing, Perfect, Great, and Wondrous in the sorted list. Record the number of iterations required in each case.
[6] Searching
Chapter: [6] Searching
Concept: undefined >> undefined

A bank ‘xyz’ wants to know about its popularity among the residents of a city ‘ABC’ on the basis of the number of bank accounts each family has and the average monthly account balance of each person. Briefly describe the steps to be taken for collecting data and what results can be checked through the processing of the collected data.

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

Identify the type of data being collected/generated in the following scenario:

Recording a video.

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

Identify the type of data being collected/generated in the following scenario:

Marking attendance by the teacher.

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

Identify the type of data being collected/generated in the following scenario:

Writing tweets

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

Identify the type of data being collected/generated in the following scenario:

Filling out an application form online.

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

For the annual day celebrations, the teacher is looking for an anchor in a class of 42 students. The teacher would make a selection of an anchor on the basis of singing skills, writing skills, as well as monitoring skills.

Which mode of data collection should be used?

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

Using the sports database containing two relations (TEAM, MATCH_DETAILS) and write the Query for the following:

Change the name of the relation TEAM to T_DATA. Also, change the attributes TeamID and TeamName to T_ID and T_NAME respectively.

[9] Structured Query Language (SQL)
Chapter: [9] Structured Query Language (SQL)
Concept: undefined >> undefined

Expand the following:

ARPANET

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

Expand the following:

ISP

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

What is data communication?

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

Why is a computer considered to be safe if it is not connected to a network or the Internet?

[12] Security Aspects
Chapter: [12] Security Aspects
Concept: undefined >> undefined

What is a computer virus? Name some computer viruses that were popular in recent years.

[12] Security Aspects
Chapter: [12] Security Aspects
Concept: undefined >> undefined

How is a computer worm different from a virus?

[12] Security Aspects
Chapter: [12] Security Aspects
Concept: undefined >> undefined

How is Ransomware used to extract money from users?

[12] Security Aspects
Chapter: [12] Security Aspects
Concept: undefined >> undefined

How did a Trojan get its name?

[12] Security Aspects
Chapter: [12] Security Aspects
Concept: undefined >> undefined

How does adware generate revenue for its creator?

[12] Security Aspects
Chapter: [12] Security Aspects
Concept: undefined >> undefined

How is a Virtual Keyboard safer than an On-Screen Keyboard?

[12] Security Aspects
Chapter: [12] Security Aspects
Concept: undefined >> undefined
< prev  21 to 40 of 219  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×