Vasundhara, Ghaziabad
OUTPUT
Program: 2
Input any number from user and check it is Prime no. or not
OUTPUT
Program: 3
OUTPUT
Enter how many number :6
program: 4
OUTPUT
Enter the 'n' term to find in fibonacci :10
Program: 5
OUTPUT
Enter any sentence :my computer your computer our computer everyones computer
Program:6
Program to read and display file content line by line with each
word separated by „#‟
OUTPUT
India#is ntry#
Program:7
Program to read the content of file and display the total number
of consonants, uppercase, vowels and lower case characters‟
OUTPUT
1
Program:8
Page : 11
Program:9
OUTPUT
Page : 12
Program:10
OUTPUT
Page : 15
Program:11
OUTPUT
Program:12
write a program to input name of ‘n’ countries and their capital and
currency store, it in a dictionary and display in tabular form also search
and display for a particular country.
OUTPUT
Program:13
OUTPUT
Page : 15
Program:14
OUTPUT
Program:15
OUTPUT
Program:16
write a program to create stack and perform push(, display( and speek(
function.
OUTPUT
Program:17
OUTPUT
Program:18
write a program to create queue and perform enqueue(), display() and peek()
function.
OUTPUT
Program:19
OUTPUT
Program:20
write a program to create a csv file and insert values in it by using writerows
function.
OUTPUT
Program:21
OUTPUT
Program:22
OUTPUT
Program:23
write a program to fetch by using fetchall() function the data from database count the
total no. of rows in a table and show all tables name present in the database OUTPUT
OUTPUT
Page : 15
Program:24
write a program program to create a table, insert values and save it in MYSQL
database.
OUTPUT-
Page : 15
Program:25
OUTPUT
Page : 15
MY SQL QUERIES
-Consider the following MOVIE table and write the SQL queries based on it
c) desc team;