Plotting with Pyplot – I

Plotting with Pyplot – I 1 What is ‘Pyplot’ in Matplotlib? Ans. Pyplot` is a module in the Matplotlib library used for creating static, interactive, and animated visualizations in Python. 2. How do you import the Matplotlib library in Python?** Ans. import matplotlib.pyplot as plt. 3. Which function is used to create a line graph […]

PYTHON PANDAS – I Viva

PYTHON PANDAS – I Viva Q.1What is Pandas/Python pandas ? Ans. Pandas is a Python library package that has robust features. It is very fast, flexible, and expressive data structures designed to make working with “relational” or “labeled” data both easy. Q.2 What is Python Pandas used for ? Ans. Pandas is a software library […]

Create a file myself.txt and Write the following content

Create a file myself.txt and Write the following content Q.5  Create a file myself.txt and Write the following content.            Hello, my name is Alex. I am passionate about programming and technology I enjoy learning new skills and solving challenges. 1. Open the file student_data.txt in read mode and display its […]

Write a program to create a Stack by name BooksStack with the following detail like book_title, author_name, and publication_year.

STACK FOR BOOKS Write a program to create a Stack by name BooksStack with the following detail like book_title, author_name, and publication_year. Specified operation on the stack BooksStack. Like              push_book(BooksStack, new_book) pop_book(BooksStack) peep(BookStack) Display the full stack of book Solution :-  def push_book(BooksStack, new_book): BooksStack.append(new_book) print(f”Book ‘{new_book[‘book_title’]}’ added to the stack.”) def pop_book(BooksStack): if […]

Write a Oracle command to Create a Table Employees.

Write a Oracle command to Create a Table Employees. Q.1 Create the Employees Table Solution :-  CREATE TABLE Employees ( EmployeeID NUMBER PRIMARY KEY, EmployeeName VARCHAR2(50), Department VARCHAR2(50), Salary NUMBER, Age NUMBER, ManagerID NUMBER ); Q.2 Insert data into Employees table. Solution :-  Q.3  Solution :-  Q.1 Create the Employees Table Solution :-  Q.1 Create […]

SQL Queries to create table Customer and table Order.

SQL Queries to create table Customer and table Order. Q.1 Create a database Product. Solution :-  create database product; Q.2 Access Database Solution :-  use product; Q.3(a) Create table Customer. Solution :-  create table customer(CustomerID int primary key,CustomerName varchar(100),City varchar(100),Age varchar(100),Phone int); Q.3(b) Create table Order. Solution :-  CREATE TABLE Order (ProjectID INT PRIMARY KEY,ProjectName […]

SQL Queries to create table Employees and table Projects.

SQL Queries to create table Employees and table Projects. SQL Queries to create table Employees and table Projects. Solution  :-  Q.1 Create a database Office. Solution  :-  create database office; Q.2 Access Database Solution  :-  use office ;  Q.3(a) Create table employees. Solution  :-  create table employees(EmployeeID int primary key, EmployeeName varchar(100),Department varchar(100),Salary int, Age […]

SQL Queries to create table student and table Subjects.

Q.1 MYSQL SQL Queries to create table student and table Subjects. Q.1 Create a database School. Solution :-   create database school; Q.2 Access Database Solution  :-  use school Q.3(a) Create table Student. Solution  :-  create table student(studentId int primary key, StudentName varchar(100),Age int,class varchar(100),marks int ); Q.3(b) Create table Subject. Solution  :-  create table subject(subjectid […]

PYTHON REVISION TOUR I

PYTHON REVISION TOUR I CHAPTER CHECKLIST Python Character Set Python Tokens Basic structure of Python Program Variables and Assignments Input and Output in Python Data Types Mutable and ImmutableTypes Expressions Type conversion in Python Statements Programming Tools Control Structure Jump Statements PYTHON REVISION TOUR I​ Introduction to Python. Python is a general purpose interpreted, interactive, […]

sign up!

We’ll send you the hottest deals straight to your inbox so you’re always in on the best-kept software secrets.