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, […]

Explain file allocation method in detail

ASSIGNMENT ASSIGNMENT Q.8 Explain file allocation method in detail Answer :-  File allocation methods are techniques used by operating systems to manage how files are stored on disk storage systems. These methods determine the layout and organization of file data on physical or logical storage media, impacting performance, access speed, and storage efficiency. Below is […]

Show the disk scheduling for the following algorithm

ASSIGNMENT ASSIGNMENT Q.7 Suppose a disk drive has 200 cylinders number from 0-199.drive is currently served therequest at cylinder number 90.The queue for pending request in FIFO order is as follows:15,41,144,93,73,179,137,125,69,45,36,11.Show the disk scheduling for the following algorithm.1. FCFS 2. LOOK 3. SCAN 4. SSTF Answer :-   Below is an explanation and computation of the […]

sign up!

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