English
Tamil Nadu Board of Secondary EducationHSC Science Class 12

HSC Science Class 12 - Tamil Nadu Board of Secondary Education Question Bank Solutions

Advertisements
[object Object]
[object Object]
Subjects
Popular subjects
Topics

Please select a subject first

Advertisements
Advertisements
< prev  2081 to 2100 of 4901  next > 

Which of the following is a string used to terminate lines produced by the writer()method of the csv module?

[13] Python and CSV Files
Chapter: [13] Python and CSV Files
Concept: undefined >> undefined

What is the output of the following program? import csv

d=csv.reader(open('c:\PYPRG\ch13\city.csv'))
next(d)
for row in d:
   print(row)
if the file called “city.csv” contain the following details

chennai,mylapore
mumbai,andheri
[13] Python and CSV Files
Chapter: [13] Python and CSV Files
Concept: undefined >> undefined

Advertisements

Making some changes in the data of the existing file or adding more data is called ______

[13] Python and CSV Files
Chapter: [13] Python and CSV Files
Concept: undefined >> undefined

What will be written inside the file test.csv using the following program import csv

D = [['Exam'],['Quarterly'],['Halfyearly']]
csv.register_dialect('M',lineterminator = '\n')
with open('c:\pyprg\ch13\line2.csv', 'w') as f:
     wr = csv.writer(f,dialect='M')
     wr.writerows(D)
f.close()

[13] Python and CSV Files
Chapter: [13] Python and CSV Files
Concept: undefined >> undefined

How will you sort more than one column from a CSV file? Give an example statement.

[13] Python and CSV Files
Chapter: [13] Python and CSV Files
Concept: undefined >> undefined

Write a Python program to modify an existing file.

[13] Python and CSV Files
Chapter: [13] Python and CSV Files
Concept: undefined >> undefined

Write a Python program to execute the following c++ coding.

#include<iostream>
using namespace std;
int main()
{ cout<<“WELCOME”;
return(0);
}
The above C++ program is saved in a file welcome. cpp.

[14] Importing C++ Programs in Python
Chapter: [14] Importing C++ Programs in Python
Concept: undefined >> undefined

Which of the following function retrieves the average of a selected column of rows in a table?

[15] Data Manipulation Through SQL
Chapter: [15] Data Manipulation Through SQL
Concept: undefined >> undefined

Which of the following refers to the visibility of variables in one part of a program to another part of the same program. 

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

Which scope refers to variables defined in current function?

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

What is a scope?

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

Why scope should be used for variable. State the reason.

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

Identify the scope of the variables in the following pseudo-code and write its output
color:= Red
mycolor():
  b:=Blue
 myfavcolor():
     g:=Green
     printcolor, b, g
 myfavcolor()
 printcolor, b
mycolor()
print color

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

What is meant by the scope of a variable? Mention its types.

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

Define global scope.

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

Write the rules of a local variable.

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

Write the basic rules for a global keyword in python.

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

What happens when we modify the global variable inside the function?

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

Explain the scope of variables with an example.

[7] Python Functions
Chapter: [7] Python Functions
Concept: undefined >> undefined

Which of the following is used as placeholders or replacement fields which get replaced along with format( ) function?

[8] Strings and String Manipulation
Chapter: [8] Strings and String Manipulation
Concept: undefined >> undefined
< prev  2081 to 2100 of 4901  next > 
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×