ublic class Elevator { private static final String DOWN = down.pdfAnkitchhabra28
ublic class Elevator { private static final String DOWN = \"down\"; private static final
String UP = \"up\"; private final Random rand = new Random(); private int floor =
rand.nextInt(10) + 1; public void simulateElevator() { System.out.println(\"The elevator
is now on floor \" + floor); System.out.print(\"Which floor are you at now (0-10) where 0 =
basement: \"); int destinationFloor = readDestinationFloor(); int movement =
getMovementDirection(destinationFloor); if (movement == 0) {
System.out.println(\"Enter the elevator\"); } else { moveElevator(destinationFloor,
movement); } } private int readDestinationFloor() { return Keyboard.readInt();
} /* determine if movement needed is to up or to down */ private int
getMovementDirection(int destinationFloor) { int dif = destinationFloor - floor; if (dif
== 0) { return 0; } return dif / Math.abs(dif); } private String
getMovementName(int movement) { return movement < 0 ? DOWN : UP; } private
void moveElevator(int destination, int moveDirection) { String movementName =
getMovementName(moveDirection); System.out.println(\"The elevator is on it\'s way
\".concat(movementName).concat(\"...\")); while (floor != destination) { floor +=
moveDirection; System.out.println(floor); } System.out.println(\"The elevator
has arrived\"); } public static void main(String[] args) { new
Elevator().simulateElevator(); } }
Solution
ublic class Elevator { private static final String DOWN = \"down\"; private static final
String UP = \"up\"; private final Random rand = new Random(); private int floor =
rand.nextInt(10) + 1; public void simulateElevator() { System.out.println(\"The elevator
is now on floor \" + floor); System.out.print(\"Which floor are you at now (0-10) where 0 =
basement: \"); int destinationFloor = readDestinationFloor(); int movement =
getMovementDirection(destinationFloor); if (movement == 0) {
System.out.println(\"Enter the elevator\"); } else { moveElevator(destinationFloor,
movement); } } private int readDestinationFloor() { return Keyboard.readInt();
} /* determine if movement needed is to up or to down */ private int
getMovementDirection(int destinationFloor) { int dif = destinationFloor - floor; if (dif
== 0) { return 0; } return dif / Math.abs(dif); } private String
getMovementName(int movement) { return movement < 0 ? DOWN : UP; } private
void moveElevator(int destination, int moveDirection) { String movementName =
getMovementName(moveDirection); System.out.println(\"The elevator is on it\'s way
\".concat(movementName).concat(\"...\")); while (floor != destination) { floor +=
moveDirection; System.out.println(floor); } System.out.println(\"The elevator
has arrived\"); } public static void main(String[] args) { new
Elevator().simulateElevator(); } }.
As a CFO environment of internal control needs to put in place t.pdfAnkitchhabra28
As a CFO environment of internal control needs to put in place to ensure account balances
are accurately valued and reported. For this first classification of account balances into high
risk, medium risk and low risk is necessary and then such balances should be reconciled with
general ledger. For low risk account balances, review is necessary in regard to their limit set.
To ensure there is no material mistatement in reporting review at regular intervals is required.
Solution
As a CFO environment of internal control needs to put in place to ensure account balances
are accurately valued and reported. For this first classification of account balances into high
risk, medium risk and low risk is necessary and then such balances should be reconciled with
general ledger. For low risk account balances, review is necessary in regard to their limit set.
To ensure there is no material mistatement in reporting review at regular intervals is required..
What are the financial markets and what purposes do they serveA f.pdfAnkitchhabra28
What are the financial markets and what purposes do they serve?
A financial market is a broad term describing any marketplace where buyers and sellers
participate in the trade of assets such as equities, bonds, currencies and derivatives. Financial
markets are typically defined by having transparent pricing, basic regulations on trading, costs
and fees, and market forces determining the prices of securities that trade.
Financial markets can be found in nearly every nation in the world. Some are very small, with
only a few participants, while others - like the New York Stock Exchange (NYSE) and the forex
markets - trade trillions of dollars daily.
Investors have access to a large number of financial markets and exchanges representing a vast
array of financial products. Some of these markets have always been open to private investors;
others remained the exclusive domain of major international banks and financial professionals
until the very end of the twentieth century.
What are financial intermediaries? How do these intermediaries function in the economy?
Financial intermediaries channel funds from people who have extra money or surplus savings
(savers) to those who do not have enough money to carry out a desired activity (borrowers). A
financial intermediary is typically an institution that facilitates the channeling of funds between
lenders and borrowers indirectly. That is, savers (lenders) give funds to an intermediary
institution (such as a bank), and that institution gives those funds to spenders (borrowers). This
may be in the form of loans or mortgages. Alternatively, they may lend the money directly via
the financial markets, which is known as financial disintermediation.
Financial intermediaries help circulating money in the system. If money is staying idle (e.g.
under your bed pillow or as gold in your locker) then it is not good for the economy. Money
must keep changing hands. If you look at this from a different angle: if nobody buys skin
whitening creams then who will feed the families of those chemists who work there And the
businessman who supplies raw material to that factory? They promote the habit of savings.
Individual can use that saved money in bad times / emergency and earn profit in between. A
needy businessman will easily get loans.
When businessmen can get loans easily at a reasonable cost, they’ll start new business, expand
existing business, hire more employees, increase production of goods / services = GDP
increases. When people are making more money, they spend more money. A family goes to
restaurant, poor waiter makes money. Family hires maid, gardener, driver. Family buys new car,
mobile or bike- it breaks down, the repairman makes money. That’s how money trickles down
from rich people to poor people.
What is a federal government budget deficit? What is the national debt? How does a budget
deficit affect the economy?
The federal government budget deficit is when the Federal spending is greater than the tax
reve.
VI) Instruction set Architecture- Instruction set is a colle.pdfAnkitchhabra28
VI) Instruction set Architecture:-
Instruction set is a collection of the instructions that are executed by the CPU or various
different type of operations are performed in CPU according to this instructions. and it is the part
of the processor that is visible to the compiler writer. It acts as boundary between software and
hardware.And it includes a specification of the set of opcodes, and the native commands.
Instruction set Architecture as Abstract interface:-
The hierarchy of the layers is consisted by the both software and hardware.From the above
layer each lower layer hide the details. The main theme for the abstraction is used for both
hardware and software is complexity of computer systems. One key interface between the levels
of abstraction is the instruction set architrecture. That means the interface between hardware and
low-level software. This abstract interface enables many implementations of varying cost and
performance to run identical software.
MIPS instructions:-
1.R-type instructions
2.I-type instructions
3.J-type instructions
These are the 3-types of MIPS instructions.
R-type instructions means register type instructions. We are using various type of registers to
perform this type of instruction. It is a complex one.
Ex:-R[d]=R[s]+R[t]
I-type instructions are immediate type instructions.
EX:-R[t]=R[s]+(IR15)16 IR15-0.
J-type instructions are jump type instructions.
Ex:-PC<-PC31-28 IR25-0 00
Importance of Standardized ISA:-
Standardized ISA are very important for software. why because it has a high chance to use in
open architecture for industry implementations.and also the main theme is this type ISA provides
modular and simpler instruction set architecture. For example if you take RISC. It is also a
instruction set architecture that was designed to support computer architecture research but it
become a standardized architecture for computer software. because it is simpler and modular. so
more organizations are happy by using this instruction set architrecture.
VII)The computer mainly consists of the five classic components
1.Input unit.
2.Output unit.
3.Memory.
4.ALU
5.Control unit.
1.Input unit:- It is an interaction between the user and the computer which accepts the input
from the user and give it to the computer.
Ex:-Mouse.
2.Output unit:-It is an interaction between the computer and the user which takes the value from
the computer and present it to the user.
Ex:-Monitor
3. Memory:-Memory is used to store the programms.
Ex:-RAM
4.ALU:-All arithmetic and logical operations are performed on the programs by using
Arithmetic and logic unit.
5.Control unit:-Which transfers the control signals to perform the required operations.
VIII. Memory:- The memory is used to store the programs.
They are two types of memorys are there 1.RAM
2.ROM
RAM is temporary memory which are used to store the temporary program.
ROM is a permanent memory which are used to store the permanent program.
RAM memory can be divided into two types 1.Stat.
The OSI(Open System Interconnection) contains 7 layers.1.Physica.pdfAnkitchhabra28
The OSI(Open System Interconnection)
contains 7 layers.
1.Physical layer
2.Data link layer
3.Network layer
4.Transport layer
5.Session layer
6.Presentaion layer
7.Application layer
In above layers, media converter
opreates at layer1, Physical layer .
The physical layer translates
the frames into the bits and the bits
are transmitted to tramission medium
Since physical layer transmits the data
as signals which are in the form of bits
(electrical singals).
Therefore, media converter operates at physical layer.
Solution
The OSI(Open System Interconnection)
contains 7 layers.
1.Physical layer
2.Data link layer
3.Network layer
4.Transport layer
5.Session layer
6.Presentaion layer
7.Application layer
In above layers, media converter
opreates at layer1, Physical layer .
The physical layer translates
the frames into the bits and the bits
are transmitted to tramission medium
Since physical layer transmits the data
as signals which are in the form of bits
(electrical singals).
Therefore, media converter operates at physical layer..
ublic class Elevator { private static final String DOWN = down.pdfAnkitchhabra28
ublic class Elevator { private static final String DOWN = \"down\"; private static final
String UP = \"up\"; private final Random rand = new Random(); private int floor =
rand.nextInt(10) + 1; public void simulateElevator() { System.out.println(\"The elevator
is now on floor \" + floor); System.out.print(\"Which floor are you at now (0-10) where 0 =
basement: \"); int destinationFloor = readDestinationFloor(); int movement =
getMovementDirection(destinationFloor); if (movement == 0) {
System.out.println(\"Enter the elevator\"); } else { moveElevator(destinationFloor,
movement); } } private int readDestinationFloor() { return Keyboard.readInt();
} /* determine if movement needed is to up or to down */ private int
getMovementDirection(int destinationFloor) { int dif = destinationFloor - floor; if (dif
== 0) { return 0; } return dif / Math.abs(dif); } private String
getMovementName(int movement) { return movement < 0 ? DOWN : UP; } private
void moveElevator(int destination, int moveDirection) { String movementName =
getMovementName(moveDirection); System.out.println(\"The elevator is on it\'s way
\".concat(movementName).concat(\"...\")); while (floor != destination) { floor +=
moveDirection; System.out.println(floor); } System.out.println(\"The elevator
has arrived\"); } public static void main(String[] args) { new
Elevator().simulateElevator(); } }
Solution
ublic class Elevator { private static final String DOWN = \"down\"; private static final
String UP = \"up\"; private final Random rand = new Random(); private int floor =
rand.nextInt(10) + 1; public void simulateElevator() { System.out.println(\"The elevator
is now on floor \" + floor); System.out.print(\"Which floor are you at now (0-10) where 0 =
basement: \"); int destinationFloor = readDestinationFloor(); int movement =
getMovementDirection(destinationFloor); if (movement == 0) {
System.out.println(\"Enter the elevator\"); } else { moveElevator(destinationFloor,
movement); } } private int readDestinationFloor() { return Keyboard.readInt();
} /* determine if movement needed is to up or to down */ private int
getMovementDirection(int destinationFloor) { int dif = destinationFloor - floor; if (dif
== 0) { return 0; } return dif / Math.abs(dif); } private String
getMovementName(int movement) { return movement < 0 ? DOWN : UP; } private
void moveElevator(int destination, int moveDirection) { String movementName =
getMovementName(moveDirection); System.out.println(\"The elevator is on it\'s way
\".concat(movementName).concat(\"...\")); while (floor != destination) { floor +=
moveDirection; System.out.println(floor); } System.out.println(\"The elevator
has arrived\"); } public static void main(String[] args) { new
Elevator().simulateElevator(); } }.
As a CFO environment of internal control needs to put in place t.pdfAnkitchhabra28
As a CFO environment of internal control needs to put in place to ensure account balances
are accurately valued and reported. For this first classification of account balances into high
risk, medium risk and low risk is necessary and then such balances should be reconciled with
general ledger. For low risk account balances, review is necessary in regard to their limit set.
To ensure there is no material mistatement in reporting review at regular intervals is required.
Solution
As a CFO environment of internal control needs to put in place to ensure account balances
are accurately valued and reported. For this first classification of account balances into high
risk, medium risk and low risk is necessary and then such balances should be reconciled with
general ledger. For low risk account balances, review is necessary in regard to their limit set.
To ensure there is no material mistatement in reporting review at regular intervals is required..
What are the financial markets and what purposes do they serveA f.pdfAnkitchhabra28
What are the financial markets and what purposes do they serve?
A financial market is a broad term describing any marketplace where buyers and sellers
participate in the trade of assets such as equities, bonds, currencies and derivatives. Financial
markets are typically defined by having transparent pricing, basic regulations on trading, costs
and fees, and market forces determining the prices of securities that trade.
Financial markets can be found in nearly every nation in the world. Some are very small, with
only a few participants, while others - like the New York Stock Exchange (NYSE) and the forex
markets - trade trillions of dollars daily.
Investors have access to a large number of financial markets and exchanges representing a vast
array of financial products. Some of these markets have always been open to private investors;
others remained the exclusive domain of major international banks and financial professionals
until the very end of the twentieth century.
What are financial intermediaries? How do these intermediaries function in the economy?
Financial intermediaries channel funds from people who have extra money or surplus savings
(savers) to those who do not have enough money to carry out a desired activity (borrowers). A
financial intermediary is typically an institution that facilitates the channeling of funds between
lenders and borrowers indirectly. That is, savers (lenders) give funds to an intermediary
institution (such as a bank), and that institution gives those funds to spenders (borrowers). This
may be in the form of loans or mortgages. Alternatively, they may lend the money directly via
the financial markets, which is known as financial disintermediation.
Financial intermediaries help circulating money in the system. If money is staying idle (e.g.
under your bed pillow or as gold in your locker) then it is not good for the economy. Money
must keep changing hands. If you look at this from a different angle: if nobody buys skin
whitening creams then who will feed the families of those chemists who work there And the
businessman who supplies raw material to that factory? They promote the habit of savings.
Individual can use that saved money in bad times / emergency and earn profit in between. A
needy businessman will easily get loans.
When businessmen can get loans easily at a reasonable cost, they’ll start new business, expand
existing business, hire more employees, increase production of goods / services = GDP
increases. When people are making more money, they spend more money. A family goes to
restaurant, poor waiter makes money. Family hires maid, gardener, driver. Family buys new car,
mobile or bike- it breaks down, the repairman makes money. That’s how money trickles down
from rich people to poor people.
What is a federal government budget deficit? What is the national debt? How does a budget
deficit affect the economy?
The federal government budget deficit is when the Federal spending is greater than the tax
reve.
VI) Instruction set Architecture- Instruction set is a colle.pdfAnkitchhabra28
VI) Instruction set Architecture:-
Instruction set is a collection of the instructions that are executed by the CPU or various
different type of operations are performed in CPU according to this instructions. and it is the part
of the processor that is visible to the compiler writer. It acts as boundary between software and
hardware.And it includes a specification of the set of opcodes, and the native commands.
Instruction set Architecture as Abstract interface:-
The hierarchy of the layers is consisted by the both software and hardware.From the above
layer each lower layer hide the details. The main theme for the abstraction is used for both
hardware and software is complexity of computer systems. One key interface between the levels
of abstraction is the instruction set architrecture. That means the interface between hardware and
low-level software. This abstract interface enables many implementations of varying cost and
performance to run identical software.
MIPS instructions:-
1.R-type instructions
2.I-type instructions
3.J-type instructions
These are the 3-types of MIPS instructions.
R-type instructions means register type instructions. We are using various type of registers to
perform this type of instruction. It is a complex one.
Ex:-R[d]=R[s]+R[t]
I-type instructions are immediate type instructions.
EX:-R[t]=R[s]+(IR15)16 IR15-0.
J-type instructions are jump type instructions.
Ex:-PC<-PC31-28 IR25-0 00
Importance of Standardized ISA:-
Standardized ISA are very important for software. why because it has a high chance to use in
open architecture for industry implementations.and also the main theme is this type ISA provides
modular and simpler instruction set architecture. For example if you take RISC. It is also a
instruction set architecture that was designed to support computer architecture research but it
become a standardized architecture for computer software. because it is simpler and modular. so
more organizations are happy by using this instruction set architrecture.
VII)The computer mainly consists of the five classic components
1.Input unit.
2.Output unit.
3.Memory.
4.ALU
5.Control unit.
1.Input unit:- It is an interaction between the user and the computer which accepts the input
from the user and give it to the computer.
Ex:-Mouse.
2.Output unit:-It is an interaction between the computer and the user which takes the value from
the computer and present it to the user.
Ex:-Monitor
3. Memory:-Memory is used to store the programms.
Ex:-RAM
4.ALU:-All arithmetic and logical operations are performed on the programs by using
Arithmetic and logic unit.
5.Control unit:-Which transfers the control signals to perform the required operations.
VIII. Memory:- The memory is used to store the programs.
They are two types of memorys are there 1.RAM
2.ROM
RAM is temporary memory which are used to store the temporary program.
ROM is a permanent memory which are used to store the permanent program.
RAM memory can be divided into two types 1.Stat.
The OSI(Open System Interconnection) contains 7 layers.1.Physica.pdfAnkitchhabra28
The OSI(Open System Interconnection)
contains 7 layers.
1.Physical layer
2.Data link layer
3.Network layer
4.Transport layer
5.Session layer
6.Presentaion layer
7.Application layer
In above layers, media converter
opreates at layer1, Physical layer .
The physical layer translates
the frames into the bits and the bits
are transmitted to tramission medium
Since physical layer transmits the data
as signals which are in the form of bits
(electrical singals).
Therefore, media converter operates at physical layer.
Solution
The OSI(Open System Interconnection)
contains 7 layers.
1.Physical layer
2.Data link layer
3.Network layer
4.Transport layer
5.Session layer
6.Presentaion layer
7.Application layer
In above layers, media converter
opreates at layer1, Physical layer .
The physical layer translates
the frames into the bits and the bits
are transmitted to tramission medium
Since physical layer transmits the data
as signals which are in the form of bits
(electrical singals).
Therefore, media converter operates at physical layer..
the following statements are true Ubiquinone is a small, hydrophob.pdfAnkitchhabra28
the following statements are true
Ubiquinone is a small, hydrophobic protein containing a metal group that acts as an electron
carrier.Mitochondrial electron carriers with the highest redox potential generally contain copper
ions and/or heme groups.
Solution
the following statements are true
Ubiquinone is a small, hydrophobic protein containing a metal group that acts as an electron
carrier.Mitochondrial electron carriers with the highest redox potential generally contain copper
ions and/or heme groups..
The evolution of one species is driven by the evolution of the other.pdfAnkitchhabra28
The evolution of one species is driven by the evolution of the other species. In this, two groups
of organisms exert selective pressures on each other, which drives the co-evolution of genes, this
may occur within the species or between the species.
The co-evolution of certain insects and flowering plants is driven by their symbiotic relationship.
Increased chances of pollination and seed dispersal by animals and other vectors, and all other
factors that increased the fitness of plants.
The co-evolved animals and plants share certain characteristics the benefit each other. Fruits are
formed after pollination.
The animal pollinator get some reward when it visit its coevolved plant. For example, the co-
evolution of flowers with deep fragrance and UV-reflecting pigments. Bees have a keen sense of
smell and they can also see UV light, so the flowers with these characteristics attract bees and
thus, promotes pollination.
In this case, the bees carry the pollen and nectar, pollen is transported to the other plants or used
by bees and nectar is utilized as a food source by the bees (mutual benefit in coevolution).
Solution
The evolution of one species is driven by the evolution of the other species. In this, two groups
of organisms exert selective pressures on each other, which drives the co-evolution of genes, this
may occur within the species or between the species.
The co-evolution of certain insects and flowering plants is driven by their symbiotic relationship.
Increased chances of pollination and seed dispersal by animals and other vectors, and all other
factors that increased the fitness of plants.
The co-evolved animals and plants share certain characteristics the benefit each other. Fruits are
formed after pollination.
The animal pollinator get some reward when it visit its coevolved plant. For example, the co-
evolution of flowers with deep fragrance and UV-reflecting pigments. Bees have a keen sense of
smell and they can also see UV light, so the flowers with these characteristics attract bees and
thus, promotes pollination.
In this case, the bees carry the pollen and nectar, pollen is transported to the other plants or used
by bees and nectar is utilized as a food source by the bees (mutual benefit in coevolution)..
S(sulfur) atom Glucose molecule and compound Oxygen atom DN.pdfAnkitchhabra28
S(sulfur): atom
Glucose: molecule and compound
Oxygen: atom
DNA: molecule and compound
H2O: molecule and compound
Helium: atom
Ozone: molecule and compound
Carbon Dioxide: molecule and compound
Carbon Monoxide: molecule and compound
HCI: molecule and compound
Sulfuric Acid: molecule and compound
Xe: atom
Uranium: atom
N2O: molecule and compound
N2: molecule
Silver: atom
NaOH: molecule and compound
Gold: atom
NaCL: molecule and compound
Aspirin: molecule and compound
Tungsten: atom
Lead: atom
Epinephrine: molecule and compound
Butane: molecule and compound
Caffeine: molecule and compound
H2: molecule
S8: molecule
Hg: atom
Cholesterol: molecule and compound
I2: molecule
note:
A chemical compound is a pure chemical substance consisting of two or more different
chemical elements.
this is why H2, S8, N2 are not compounds.
Solution
S(sulfur): atom
Glucose: molecule and compound
Oxygen: atom
DNA: molecule and compound
H2O: molecule and compound
Helium: atom
Ozone: molecule and compound
Carbon Dioxide: molecule and compound
Carbon Monoxide: molecule and compound
HCI: molecule and compound
Sulfuric Acid: molecule and compound
Xe: atom
Uranium: atom
N2O: molecule and compound
N2: molecule
Silver: atom
NaOH: molecule and compound
Gold: atom
NaCL: molecule and compound
Aspirin: molecule and compound
Tungsten: atom
Lead: atom
Epinephrine: molecule and compound
Butane: molecule and compound
Caffeine: molecule and compound
H2: molecule
S8: molecule
Hg: atom
Cholesterol: molecule and compound
I2: molecule
note:
A chemical compound is a pure chemical substance consisting of two or more different
chemical elements.
this is why H2, S8, N2 are not compounds..
Program 1 public class QueueUsingArray { private static final i.pdfAnkitchhabra28
Program 1 :
public class QueueUsingArray {
private static final int queueCapacity = 20;
int arr[] = new int[queueCapacity];
int size = 0;
int top = -1;
int rear = 0;
public void pushinQueue(int pushedElement) {
if (top < queueCapacity - 1) {
top++;
arr[top] = pushedElement;
System.out.println(\"Element \" + pushedElement
+ \" is pushed to Queue !\");
display();
} else {
System.out.println(\"Overflow !\");
}
}
public void pop() {
if (top >= rear) {
rear++;
System.out.println(\"Pop operation done !\");
display();
} else {
System.out.println(\"Underflow !\");
}
}
public void display() {
if (top >= rear) {
System.out.println(\"Elements in Queue : \");
for (int i = rear; i <= top; i++) {
System.out.println(arr[i]);
}
}
}
public static void main(String[] args) {
QueueUsingArray obj = new QueueUsingArray();
obj.pop();
obj.pushinQueue(20);
obj.pushinQueue(18);
obj.pushinQueue(67);
obj.pushinQueue(343);
obj.pop();
obj.pushinQueue(203);
obj.pushinQueue(348);
obj.pushinQueue(637);
obj.pushinQueue(343);
obj.pop();
obj.pop();
obj.pop();
}
}
Result 1 :
348
Element 637 is pushed to Queue !
Elements in Queue :
18
67
343
203
348
637
Element 343 is pushed to Queue !
Elements in Queue :
18
67
343
203
348
637
343
Pop operation done !
Elements in Queue :
67
343
203
348
637
343
Pop operation done !
Elements in Queue :
343
203
348
637
343
Pop operation done !
Elements in Queue :
203
348
637
343
Program 2:
import java.util.Random;
public class InsertionSort {
public static void main(String str[]){
Random rand = new Random();
int arr[] = new int[20];
for(int i=0;i<20;i++){
arr[i]=rand.nextInt(100);
System.out.print(arr[i]+\" \");
}
System.out.println(\"\");
insertionSOrt(arr);
for(int i=0;i<20;i++){
System.out.println(\"arr[\"+i+\"] : \"+arr[i]);
}
}
public static void insertionSOrt(int arr[]){
for(int i=1;i=0 && temp
Solution
Program 1 :
public class QueueUsingArray {
private static final int queueCapacity = 20;
int arr[] = new int[queueCapacity];
int size = 0;
int top = -1;
int rear = 0;
public void pushinQueue(int pushedElement) {
if (top < queueCapacity - 1) {
top++;
arr[top] = pushedElement;
System.out.println(\"Element \" + pushedElement
+ \" is pushed to Queue !\");
display();
} else {
System.out.println(\"Overflow !\");
}
}
public void pop() {
if (top >= rear) {
rear++;
System.out.println(\"Pop operation done !\");
display();
} else {
System.out.println(\"Underflow !\");
}
}
public void display() {
if (top >= rear) {
System.out.println(\"Elements in Queue : \");
for (int i = rear; i <= top; i++) {
System.out.println(arr[i]);
}
}
}
public static void main(String[] args) {
QueueUsingArray obj = new QueueUsingArray();
obj.pop();
obj.pushinQueue(20);
obj.pushinQueue(18);
obj.pushinQueue(67);
obj.pushinQueue(343);
obj.pop();
obj.pushinQueue(203);
obj.pushinQueue(348);
obj.pushinQueue(637);
obj.pushinQueue(343);
obj.pop();
obj.pop();
obj.pop();
}
}
Result 1 :
348
Element 637 is pushed to Queue !
Elements in Queue :
18
67
343
203
348
637
Element 343 is pushed to Que.
Note Given Code modified as required and required met.pdfAnkitchhabra28
Note:
Given Code modified as required and required methods added.
Code:
// class node
class Node
{
// declare the required variable
String data;
Node next;
// constructor
Node(){}
// constructor with arguments
Node(String data)
{
this.data = data;
next = null;
}
// method to get the data
public String getData()
{
return data;
}
// method to set the data
public void setData(String data)
{
this.data = data;
}
// method to get the next data
public Node getNext()
{
return next;
}
// method to set the next data
public void setNext(Node next)
{
this.next = next;
}
}
// class for a linked list
class MyLInkedList
{
Node head;alue into a list
// method to add the v
public void add(String num)
{
if (head == null)
{
head = new Node(num);
}
else{
Node temp = new Node(num);
Node current = head;
if (current != null) {
while (current.getNext() != null) {
current = current.getNext();
}
current.setNext(temp);
}
}
}
// method to search a value from a list
public void search(String num)
{
Node current = head;
boolean flag=true;
if (current != null)
{
while (current != null)
{
if(current.getData() == num)
{
System.out.println(\"Search value \"+
current.getData()+\" is available\");
flag=false;
}
current = current.getNext();
}
if (flag==true)
{
System.out.println(\"Search value \"+
current.getData()+\" is not available\");
}
}
else
{
System.out.println(\"Linked list is empty\");
}
}
// method to delete a value from a list
public void delete(String num)
{
//Node current = head;
boolean flag=true;
if (head == null)
{
System.out.println(\"Can\'t Delete, Linked list is
empty\");
return;
}
if(head.getData() == num)
{
head=head.getNext();
return;
}
Node temp = new Node(num);
Node cr = head;
Node prev=null;
while ((cr != null) && !(cr.getData() == num))
{
prev=cr;
cr = cr.getNext();
}
prev.setNext(cr.getNext());
}
// method to print the list
public void print()
{
Node current = head;
if (current != null) {
while (current != null) {
System.out.println(current.getData());
current = current.getNext();
}
}
}
}
// method to test the class
public class MyLInkedListTester
{
// main method to perform the linked list operatrions
public static void main(String args[])
{
MyLInkedList llist = new MyLInkedList();
// insert the values into list
llist.add(\"1\");
llist.add(\"2\");
llist.add(\"3\");
llist.add(\"4\");
// print the list values
llist.print();
// sear the values in a list
llist.search(\"1\");
llist.print();
// delete the value from a list
llist.delete(\"4\");
System.out.println(\"List after deletion:\");
llist.print();
}
}
Result:
1
2
3
4
Search value 1 is available
1
2
3
4
List after deletion:
1
2
3
Solution
Note:
Given Code modified as required and required methods added.
Code:
// class node
class Node
{
// declare the required variable
String data;
Node next;
// constructor
Node(){}
// constructor with arguments
Node(String data)
{
this.data = data;
next = null;
}
// method to get the data
public String getData()
{
return data;
}
// method to set the data
public void se.
No, weight is not the measure of quantity of matter.Quantity of ma.pdfAnkitchhabra28
No, weight is not the measure of quantity of matter.
Quantity of matter is \"MASS\".
Weight is the reaction to the force exerted by the the object (mass) on the surface of the earth.
Solution
No, weight is not the measure of quantity of matter.
Quantity of matter is \"MASS\".
Weight is the reaction to the force exerted by the the object (mass) on the surface of the earth..
Listing.javaimport java.util.Scanner;public class Listing { .pdfAnkitchhabra28
Listing.java
import java.util.Scanner;
public class Listing {
//Declaring instance variables
private String name;
private int age;
//Default constructor
public Listing() {
name=\" \";
age=0;
}
//parameterized Constructor
public Listing(String name, int age) {
super();
this.name = name;
this.age = age;
}
//Getters and setters
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
//This input() method will take the inputs entered by the user.
public void input()
{
//Scanner Object is used to get the data entered by the user
Scanner sc=new Scanner(System.in);
//Getting the user name
System.out.print(\"Enter Name :\");
setName(sc.nextLine());
//Getting the Age
System.out.print(\"Enter Age :\");
setAge(sc.nextInt());
}
//This toString() method will displays the constents of the user.
@Override
public String toString() {
System.out.println(\"Name :\"+getName());
System.out.println(\"Name :\"+getAge());
return \"\";
}
}
_____________________________________________________________
Driver.java
public class Driver {
public static void main(String[] args) {
//Create an array of 3 Listing Objects
Listing listing[]=new Listing[3];
//Creating Listing Objects and populating into an Array
for(int i=0;i<3;i++)
{
listing[i]=new Listing();
System.out.println(\"Listing Object \"+(i+1)+\":\");
//Calling the input method which capture the data entered by the user
listing[i].input();
}
//Displaying the Listing objects in the Normal Order
System.out.println(\"Displaying the Listing Objects in the Normal Order ::\");
for(int i=0;i<3;i++)
{
System.out.println(\"Listing Object \"+(i+1)+\":\");
listing[i].toString();
System.out.println(\"_____________________\");
}
//Displaying the Listing objects in the Reverse Order
System.out.println(\"Displaying the Listing Objects in the Reverse Order ::\");
for(int i=2;i>=0;i--)
{
System.out.println(\"Listing Object \"+(i+1)+\":\");
listing[i].toString();
System.out.println(\"_____________________\");
}
}
}
_______________________________________________________
Output:
Listing Object 1:
Enter Name :Kane Williams
Enter Age :27
Listing Object 2:
Enter Name :John Mills
Enter Age :23
Listing Object 3:
Enter Name :Tim Rochey
Enter Age :22
Displaying the Listing Objects in the Normal Order ::
Listing Object 1:
Name :Kane Williams
Name :27
_____________________
Listing Object 2:
Name :John Mills
Name :23
_____________________
Listing Object 3:
Name :Tim Rochey
Name :22
_____________________
Displaying the Listing Objects in the Reverse Order ::
Listing Object 3:
Name :Tim Rochey
Name :22
_____________________
Listing Object 2:
Name :John Mills
Name :23
_____________________
Listing Object 1:
Name :Kane Williams
Name :27
_____________________
_____________________________________________Thank You
Solution
Listing.java
import java.util.Scanner;
public class Listing {
//Declaring instance variables
private String n.
Information managementThe term information management is used .pdfAnkitchhabra28
Information management
The term \'information management\' is used ambiguously in the literatures of several fields: in
computer science and its applications it is used as a synonym for information technology
management or as identical to \'data management\', where the emphasis is on the structures
underlying quantitative data and their relationship to the design of databases. In business or
management studies it has similar connotations to technology management, with an emphasis on
the relationship of information technology to business performance and competitiveness. In the
field of librarianship and information science it is identified with the \'emerging market\' for
information workers (managers), whose perception of information embraces data, organizational
intelligence, competitive intelligence, external information resources of all kinds and the
associated technology (manual or machine) for handling these different sources. Compared with
the other areas, information management in this latter context is more widely concerned with the
meaning of information for the information user and with information retrieval issues.
Education for information management
The state of education for information management is as diverse as the basis for its definitions.
In the UK, the Departments and Schools of Librarianship and Information Science (LIS) have
introduced information management options and, in some cases, new degree programmes in the
field, and have made a strong bid within their institutions to be the lead departments in this new
area. However, there is competition from the business schools (where the focus still tends to be
on the strategic role of information technology and on the consequences of that role for the
management of IT) and from computer science departments, which, in the early 1990s, felt the
effect of declining demand for their courses and which, in consequence, have sought to broaden
the basis for attracting students by offering courses in business information systems and
information management.
Attempts to define the information management curriculum have been limited, but Wilson
(1989b) analysed the contents of key journals in the field and found the following categories:
While the attention given to each of these elements seems likely to differ, they do seem to
constitute the general core of information management and, indeed, those departments of library
and information studies in the UK that have created information management programmes have
produced different mixes of the elements depending upon the existing strengths of the teaching
staff. Since the first edition of this text, the situation has changed little: a study by Maceviçiute
and Wilson (2002) found:
The situation in the USA is similar and appears to have changed little since Lytle (1988) noted
that confusion existed over the educational base for information management and claimed that:
\'The reason for the confusion is not curriculum overlap or battles in .
Hi,I have implemented increment() method. Please find the below up.pdfAnkitchhabra28
Hi,
I have implemented increment() method. Please find the below updated code.
DaysBetween Class:
import java.text.DateFormatSymbols;
import java.util.Calendar;
import java.util.Scanner;
class DateClass {
protected int year;
protected int month;
protected int day;
public static final int MINYEAR = 1583;
// Constructor
public DateClass(int newMonth, int newDay, int newYear)
{
month = newMonth;
day = newDay;
year = newYear;
}
// Observers
public int getYear()
{
return year;
}
public int getMonth()
{
return month;
}
public int getDay()
{
return day;
}
public int lilian()
{
// Returns the Lilian Day Number of this date.
// Precondition: This Date is a valid date after 10/14/1582.
//
// Computes the number of days between 1/1/0 and this date as if no calendar
// reforms took place, then subtracts 578,100 so that October 15, 1582 is day 1.
final int subDays = 578100; // number of calculated days from 1/1/0 to 10/14/1582 November
17, 1858
int numDays;
// Add days in years.
numDays = year * 365;
// Add days in the months.
if (month <= 2)
numDays = numDays + (month - 1) * 31;
else
numDays = numDays + ((month - 1) * 31) - ((4 * (month-1) + 27) / 10);
// Add days in the days.
numDays = numDays + day;
// Take care of leap years.
numDays = numDays + (year / 4) - (year / 100) + (year / 400);
// Handle special case of leap year but not yet leap day.
if (month < 3)
{
if ((year % 4) == 0) numDays = numDays - 1;
if ((year % 100) == 0) numDays = numDays + 1;
if ((year % 400) == 0) numDays = numDays - 1;
}
// Subtract extra days up to 10/14/1582.
numDays = numDays - subDays;
return numDays;
}
Override
public String toString()
// Returns this date as a String.
{
String monthString = new DateFormatSymbols().getMonths()[month-1];
return(monthString + \"/\" + day + \"/\" + year);
}
public class mjd
{
public int mjd()
{
final int subDays = 678941;
int numDays;
numDays = year * 365;
if (month <= 2)
numDays = numDays + (month - 1) * 31;
else
numDays = numDays + ((month -1) * 31) - ((4 * (month-1) + 27)/10);
numDays = numDays + day;
numDays = numDays + (year / 4) - (year / 100) + (year / 400);
if (month < 3)
{
if ((year % 4) == 0) numDays = numDays -1;
if ((year % 100) == 0) numDays = numDays + 1;
if ((year % 400) == 0) numDays -= numDays -1;
}
// Days subtracted up to 10/14/1582
numDays = numDays - subDays;
return numDays;
}
}
public class djd
{
public int djd()
{
final int subDays = 693961; // number of calculated days from 1/1/0 to January 1,1900
int numDays;
// Add days in years.
numDays = year * 365;
// Add days in the months.
if (month <= 2)
numDays = numDays + (month - 1) * 31;
else
numDays = numDays + ((month - 1) * 31) - ((4 * (month-1) + 27) / 10);
// Add days in the days.
numDays = numDays + day;
// Take care of leap years.
numDays = numDays + (year / 4) - (year / 100) + (year / 400);
// Handle special case of leap year but not yet leap day.
if (month < 3)
{
if ((year % 4) == 0) numDays = numDays - 1;
if ((year % 100) == 0) numDays = numDays + 1;
if ((year % .
P belongs to the V A group of the periodic table .pdfAnkitchhabra28
P belongs to the V A group of the periodic table so its valance is 5 ( having 5
electrons around it). It combines with single valenced Cl atoms makes one single bond.When it
combines with 3 Cl atoms forms 3 single bonds ie., 3 bonding pairs ( there is one lone pair on P).
Solution
P belongs to the V A group of the periodic table so its valance is 5 ( having 5
electrons around it). It combines with single valenced Cl atoms makes one single bond.When it
combines with 3 Cl atoms forms 3 single bonds ie., 3 bonding pairs ( there is one lone pair on P)..
only (2) can have equilibrium because all the re.pdfAnkitchhabra28
only (2) can have equilibrium because all the reactants and products are in the same
phase( gaseous here)
Solution
only (2) can have equilibrium because all the reactants and products are in the same
phase( gaseous here).
Intermolecular forces, also called van der Waals .pdfAnkitchhabra28
Intermolecular forces, also called van der Waals forces are attractions between
molecules. Between all molecules are London dispersion forces. These are present even if there
are other types of van der Waals forces present. We also see dipole-dipole attractions and
hydrogen bonding. SO4^2- == a nonpolar polyatomic ion, London dispersion forces. Since it is
charged it is attracted to water and positively charged ions.
Solution
Intermolecular forces, also called van der Waals forces are attractions between
molecules. Between all molecules are London dispersion forces. These are present even if there
are other types of van der Waals forces present. We also see dipole-dipole attractions and
hydrogen bonding. SO4^2- == a nonpolar polyatomic ion, London dispersion forces. Since it is
charged it is attracted to water and positively charged ions..
the following statements are true Ubiquinone is a small, hydrophob.pdfAnkitchhabra28
the following statements are true
Ubiquinone is a small, hydrophobic protein containing a metal group that acts as an electron
carrier.Mitochondrial electron carriers with the highest redox potential generally contain copper
ions and/or heme groups.
Solution
the following statements are true
Ubiquinone is a small, hydrophobic protein containing a metal group that acts as an electron
carrier.Mitochondrial electron carriers with the highest redox potential generally contain copper
ions and/or heme groups..
The evolution of one species is driven by the evolution of the other.pdfAnkitchhabra28
The evolution of one species is driven by the evolution of the other species. In this, two groups
of organisms exert selective pressures on each other, which drives the co-evolution of genes, this
may occur within the species or between the species.
The co-evolution of certain insects and flowering plants is driven by their symbiotic relationship.
Increased chances of pollination and seed dispersal by animals and other vectors, and all other
factors that increased the fitness of plants.
The co-evolved animals and plants share certain characteristics the benefit each other. Fruits are
formed after pollination.
The animal pollinator get some reward when it visit its coevolved plant. For example, the co-
evolution of flowers with deep fragrance and UV-reflecting pigments. Bees have a keen sense of
smell and they can also see UV light, so the flowers with these characteristics attract bees and
thus, promotes pollination.
In this case, the bees carry the pollen and nectar, pollen is transported to the other plants or used
by bees and nectar is utilized as a food source by the bees (mutual benefit in coevolution).
Solution
The evolution of one species is driven by the evolution of the other species. In this, two groups
of organisms exert selective pressures on each other, which drives the co-evolution of genes, this
may occur within the species or between the species.
The co-evolution of certain insects and flowering plants is driven by their symbiotic relationship.
Increased chances of pollination and seed dispersal by animals and other vectors, and all other
factors that increased the fitness of plants.
The co-evolved animals and plants share certain characteristics the benefit each other. Fruits are
formed after pollination.
The animal pollinator get some reward when it visit its coevolved plant. For example, the co-
evolution of flowers with deep fragrance and UV-reflecting pigments. Bees have a keen sense of
smell and they can also see UV light, so the flowers with these characteristics attract bees and
thus, promotes pollination.
In this case, the bees carry the pollen and nectar, pollen is transported to the other plants or used
by bees and nectar is utilized as a food source by the bees (mutual benefit in coevolution)..
S(sulfur) atom Glucose molecule and compound Oxygen atom DN.pdfAnkitchhabra28
S(sulfur): atom
Glucose: molecule and compound
Oxygen: atom
DNA: molecule and compound
H2O: molecule and compound
Helium: atom
Ozone: molecule and compound
Carbon Dioxide: molecule and compound
Carbon Monoxide: molecule and compound
HCI: molecule and compound
Sulfuric Acid: molecule and compound
Xe: atom
Uranium: atom
N2O: molecule and compound
N2: molecule
Silver: atom
NaOH: molecule and compound
Gold: atom
NaCL: molecule and compound
Aspirin: molecule and compound
Tungsten: atom
Lead: atom
Epinephrine: molecule and compound
Butane: molecule and compound
Caffeine: molecule and compound
H2: molecule
S8: molecule
Hg: atom
Cholesterol: molecule and compound
I2: molecule
note:
A chemical compound is a pure chemical substance consisting of two or more different
chemical elements.
this is why H2, S8, N2 are not compounds.
Solution
S(sulfur): atom
Glucose: molecule and compound
Oxygen: atom
DNA: molecule and compound
H2O: molecule and compound
Helium: atom
Ozone: molecule and compound
Carbon Dioxide: molecule and compound
Carbon Monoxide: molecule and compound
HCI: molecule and compound
Sulfuric Acid: molecule and compound
Xe: atom
Uranium: atom
N2O: molecule and compound
N2: molecule
Silver: atom
NaOH: molecule and compound
Gold: atom
NaCL: molecule and compound
Aspirin: molecule and compound
Tungsten: atom
Lead: atom
Epinephrine: molecule and compound
Butane: molecule and compound
Caffeine: molecule and compound
H2: molecule
S8: molecule
Hg: atom
Cholesterol: molecule and compound
I2: molecule
note:
A chemical compound is a pure chemical substance consisting of two or more different
chemical elements.
this is why H2, S8, N2 are not compounds..
Program 1 public class QueueUsingArray { private static final i.pdfAnkitchhabra28
Program 1 :
public class QueueUsingArray {
private static final int queueCapacity = 20;
int arr[] = new int[queueCapacity];
int size = 0;
int top = -1;
int rear = 0;
public void pushinQueue(int pushedElement) {
if (top < queueCapacity - 1) {
top++;
arr[top] = pushedElement;
System.out.println(\"Element \" + pushedElement
+ \" is pushed to Queue !\");
display();
} else {
System.out.println(\"Overflow !\");
}
}
public void pop() {
if (top >= rear) {
rear++;
System.out.println(\"Pop operation done !\");
display();
} else {
System.out.println(\"Underflow !\");
}
}
public void display() {
if (top >= rear) {
System.out.println(\"Elements in Queue : \");
for (int i = rear; i <= top; i++) {
System.out.println(arr[i]);
}
}
}
public static void main(String[] args) {
QueueUsingArray obj = new QueueUsingArray();
obj.pop();
obj.pushinQueue(20);
obj.pushinQueue(18);
obj.pushinQueue(67);
obj.pushinQueue(343);
obj.pop();
obj.pushinQueue(203);
obj.pushinQueue(348);
obj.pushinQueue(637);
obj.pushinQueue(343);
obj.pop();
obj.pop();
obj.pop();
}
}
Result 1 :
348
Element 637 is pushed to Queue !
Elements in Queue :
18
67
343
203
348
637
Element 343 is pushed to Queue !
Elements in Queue :
18
67
343
203
348
637
343
Pop operation done !
Elements in Queue :
67
343
203
348
637
343
Pop operation done !
Elements in Queue :
343
203
348
637
343
Pop operation done !
Elements in Queue :
203
348
637
343
Program 2:
import java.util.Random;
public class InsertionSort {
public static void main(String str[]){
Random rand = new Random();
int arr[] = new int[20];
for(int i=0;i<20;i++){
arr[i]=rand.nextInt(100);
System.out.print(arr[i]+\" \");
}
System.out.println(\"\");
insertionSOrt(arr);
for(int i=0;i<20;i++){
System.out.println(\"arr[\"+i+\"] : \"+arr[i]);
}
}
public static void insertionSOrt(int arr[]){
for(int i=1;i=0 && temp
Solution
Program 1 :
public class QueueUsingArray {
private static final int queueCapacity = 20;
int arr[] = new int[queueCapacity];
int size = 0;
int top = -1;
int rear = 0;
public void pushinQueue(int pushedElement) {
if (top < queueCapacity - 1) {
top++;
arr[top] = pushedElement;
System.out.println(\"Element \" + pushedElement
+ \" is pushed to Queue !\");
display();
} else {
System.out.println(\"Overflow !\");
}
}
public void pop() {
if (top >= rear) {
rear++;
System.out.println(\"Pop operation done !\");
display();
} else {
System.out.println(\"Underflow !\");
}
}
public void display() {
if (top >= rear) {
System.out.println(\"Elements in Queue : \");
for (int i = rear; i <= top; i++) {
System.out.println(arr[i]);
}
}
}
public static void main(String[] args) {
QueueUsingArray obj = new QueueUsingArray();
obj.pop();
obj.pushinQueue(20);
obj.pushinQueue(18);
obj.pushinQueue(67);
obj.pushinQueue(343);
obj.pop();
obj.pushinQueue(203);
obj.pushinQueue(348);
obj.pushinQueue(637);
obj.pushinQueue(343);
obj.pop();
obj.pop();
obj.pop();
}
}
Result 1 :
348
Element 637 is pushed to Queue !
Elements in Queue :
18
67
343
203
348
637
Element 343 is pushed to Que.
Note Given Code modified as required and required met.pdfAnkitchhabra28
Note:
Given Code modified as required and required methods added.
Code:
// class node
class Node
{
// declare the required variable
String data;
Node next;
// constructor
Node(){}
// constructor with arguments
Node(String data)
{
this.data = data;
next = null;
}
// method to get the data
public String getData()
{
return data;
}
// method to set the data
public void setData(String data)
{
this.data = data;
}
// method to get the next data
public Node getNext()
{
return next;
}
// method to set the next data
public void setNext(Node next)
{
this.next = next;
}
}
// class for a linked list
class MyLInkedList
{
Node head;alue into a list
// method to add the v
public void add(String num)
{
if (head == null)
{
head = new Node(num);
}
else{
Node temp = new Node(num);
Node current = head;
if (current != null) {
while (current.getNext() != null) {
current = current.getNext();
}
current.setNext(temp);
}
}
}
// method to search a value from a list
public void search(String num)
{
Node current = head;
boolean flag=true;
if (current != null)
{
while (current != null)
{
if(current.getData() == num)
{
System.out.println(\"Search value \"+
current.getData()+\" is available\");
flag=false;
}
current = current.getNext();
}
if (flag==true)
{
System.out.println(\"Search value \"+
current.getData()+\" is not available\");
}
}
else
{
System.out.println(\"Linked list is empty\");
}
}
// method to delete a value from a list
public void delete(String num)
{
//Node current = head;
boolean flag=true;
if (head == null)
{
System.out.println(\"Can\'t Delete, Linked list is
empty\");
return;
}
if(head.getData() == num)
{
head=head.getNext();
return;
}
Node temp = new Node(num);
Node cr = head;
Node prev=null;
while ((cr != null) && !(cr.getData() == num))
{
prev=cr;
cr = cr.getNext();
}
prev.setNext(cr.getNext());
}
// method to print the list
public void print()
{
Node current = head;
if (current != null) {
while (current != null) {
System.out.println(current.getData());
current = current.getNext();
}
}
}
}
// method to test the class
public class MyLInkedListTester
{
// main method to perform the linked list operatrions
public static void main(String args[])
{
MyLInkedList llist = new MyLInkedList();
// insert the values into list
llist.add(\"1\");
llist.add(\"2\");
llist.add(\"3\");
llist.add(\"4\");
// print the list values
llist.print();
// sear the values in a list
llist.search(\"1\");
llist.print();
// delete the value from a list
llist.delete(\"4\");
System.out.println(\"List after deletion:\");
llist.print();
}
}
Result:
1
2
3
4
Search value 1 is available
1
2
3
4
List after deletion:
1
2
3
Solution
Note:
Given Code modified as required and required methods added.
Code:
// class node
class Node
{
// declare the required variable
String data;
Node next;
// constructor
Node(){}
// constructor with arguments
Node(String data)
{
this.data = data;
next = null;
}
// method to get the data
public String getData()
{
return data;
}
// method to set the data
public void se.
No, weight is not the measure of quantity of matter.Quantity of ma.pdfAnkitchhabra28
No, weight is not the measure of quantity of matter.
Quantity of matter is \"MASS\".
Weight is the reaction to the force exerted by the the object (mass) on the surface of the earth.
Solution
No, weight is not the measure of quantity of matter.
Quantity of matter is \"MASS\".
Weight is the reaction to the force exerted by the the object (mass) on the surface of the earth..
Listing.javaimport java.util.Scanner;public class Listing { .pdfAnkitchhabra28
Listing.java
import java.util.Scanner;
public class Listing {
//Declaring instance variables
private String name;
private int age;
//Default constructor
public Listing() {
name=\" \";
age=0;
}
//parameterized Constructor
public Listing(String name, int age) {
super();
this.name = name;
this.age = age;
}
//Getters and setters
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public int getAge() {
return age;
}
public void setAge(int age) {
this.age = age;
}
//This input() method will take the inputs entered by the user.
public void input()
{
//Scanner Object is used to get the data entered by the user
Scanner sc=new Scanner(System.in);
//Getting the user name
System.out.print(\"Enter Name :\");
setName(sc.nextLine());
//Getting the Age
System.out.print(\"Enter Age :\");
setAge(sc.nextInt());
}
//This toString() method will displays the constents of the user.
@Override
public String toString() {
System.out.println(\"Name :\"+getName());
System.out.println(\"Name :\"+getAge());
return \"\";
}
}
_____________________________________________________________
Driver.java
public class Driver {
public static void main(String[] args) {
//Create an array of 3 Listing Objects
Listing listing[]=new Listing[3];
//Creating Listing Objects and populating into an Array
for(int i=0;i<3;i++)
{
listing[i]=new Listing();
System.out.println(\"Listing Object \"+(i+1)+\":\");
//Calling the input method which capture the data entered by the user
listing[i].input();
}
//Displaying the Listing objects in the Normal Order
System.out.println(\"Displaying the Listing Objects in the Normal Order ::\");
for(int i=0;i<3;i++)
{
System.out.println(\"Listing Object \"+(i+1)+\":\");
listing[i].toString();
System.out.println(\"_____________________\");
}
//Displaying the Listing objects in the Reverse Order
System.out.println(\"Displaying the Listing Objects in the Reverse Order ::\");
for(int i=2;i>=0;i--)
{
System.out.println(\"Listing Object \"+(i+1)+\":\");
listing[i].toString();
System.out.println(\"_____________________\");
}
}
}
_______________________________________________________
Output:
Listing Object 1:
Enter Name :Kane Williams
Enter Age :27
Listing Object 2:
Enter Name :John Mills
Enter Age :23
Listing Object 3:
Enter Name :Tim Rochey
Enter Age :22
Displaying the Listing Objects in the Normal Order ::
Listing Object 1:
Name :Kane Williams
Name :27
_____________________
Listing Object 2:
Name :John Mills
Name :23
_____________________
Listing Object 3:
Name :Tim Rochey
Name :22
_____________________
Displaying the Listing Objects in the Reverse Order ::
Listing Object 3:
Name :Tim Rochey
Name :22
_____________________
Listing Object 2:
Name :John Mills
Name :23
_____________________
Listing Object 1:
Name :Kane Williams
Name :27
_____________________
_____________________________________________Thank You
Solution
Listing.java
import java.util.Scanner;
public class Listing {
//Declaring instance variables
private String n.
Information managementThe term information management is used .pdfAnkitchhabra28
Information management
The term \'information management\' is used ambiguously in the literatures of several fields: in
computer science and its applications it is used as a synonym for information technology
management or as identical to \'data management\', where the emphasis is on the structures
underlying quantitative data and their relationship to the design of databases. In business or
management studies it has similar connotations to technology management, with an emphasis on
the relationship of information technology to business performance and competitiveness. In the
field of librarianship and information science it is identified with the \'emerging market\' for
information workers (managers), whose perception of information embraces data, organizational
intelligence, competitive intelligence, external information resources of all kinds and the
associated technology (manual or machine) for handling these different sources. Compared with
the other areas, information management in this latter context is more widely concerned with the
meaning of information for the information user and with information retrieval issues.
Education for information management
The state of education for information management is as diverse as the basis for its definitions.
In the UK, the Departments and Schools of Librarianship and Information Science (LIS) have
introduced information management options and, in some cases, new degree programmes in the
field, and have made a strong bid within their institutions to be the lead departments in this new
area. However, there is competition from the business schools (where the focus still tends to be
on the strategic role of information technology and on the consequences of that role for the
management of IT) and from computer science departments, which, in the early 1990s, felt the
effect of declining demand for their courses and which, in consequence, have sought to broaden
the basis for attracting students by offering courses in business information systems and
information management.
Attempts to define the information management curriculum have been limited, but Wilson
(1989b) analysed the contents of key journals in the field and found the following categories:
While the attention given to each of these elements seems likely to differ, they do seem to
constitute the general core of information management and, indeed, those departments of library
and information studies in the UK that have created information management programmes have
produced different mixes of the elements depending upon the existing strengths of the teaching
staff. Since the first edition of this text, the situation has changed little: a study by Maceviçiute
and Wilson (2002) found:
The situation in the USA is similar and appears to have changed little since Lytle (1988) noted
that confusion existed over the educational base for information management and claimed that:
\'The reason for the confusion is not curriculum overlap or battles in .
Hi,I have implemented increment() method. Please find the below up.pdfAnkitchhabra28
Hi,
I have implemented increment() method. Please find the below updated code.
DaysBetween Class:
import java.text.DateFormatSymbols;
import java.util.Calendar;
import java.util.Scanner;
class DateClass {
protected int year;
protected int month;
protected int day;
public static final int MINYEAR = 1583;
// Constructor
public DateClass(int newMonth, int newDay, int newYear)
{
month = newMonth;
day = newDay;
year = newYear;
}
// Observers
public int getYear()
{
return year;
}
public int getMonth()
{
return month;
}
public int getDay()
{
return day;
}
public int lilian()
{
// Returns the Lilian Day Number of this date.
// Precondition: This Date is a valid date after 10/14/1582.
//
// Computes the number of days between 1/1/0 and this date as if no calendar
// reforms took place, then subtracts 578,100 so that October 15, 1582 is day 1.
final int subDays = 578100; // number of calculated days from 1/1/0 to 10/14/1582 November
17, 1858
int numDays;
// Add days in years.
numDays = year * 365;
// Add days in the months.
if (month <= 2)
numDays = numDays + (month - 1) * 31;
else
numDays = numDays + ((month - 1) * 31) - ((4 * (month-1) + 27) / 10);
// Add days in the days.
numDays = numDays + day;
// Take care of leap years.
numDays = numDays + (year / 4) - (year / 100) + (year / 400);
// Handle special case of leap year but not yet leap day.
if (month < 3)
{
if ((year % 4) == 0) numDays = numDays - 1;
if ((year % 100) == 0) numDays = numDays + 1;
if ((year % 400) == 0) numDays = numDays - 1;
}
// Subtract extra days up to 10/14/1582.
numDays = numDays - subDays;
return numDays;
}
Override
public String toString()
// Returns this date as a String.
{
String monthString = new DateFormatSymbols().getMonths()[month-1];
return(monthString + \"/\" + day + \"/\" + year);
}
public class mjd
{
public int mjd()
{
final int subDays = 678941;
int numDays;
numDays = year * 365;
if (month <= 2)
numDays = numDays + (month - 1) * 31;
else
numDays = numDays + ((month -1) * 31) - ((4 * (month-1) + 27)/10);
numDays = numDays + day;
numDays = numDays + (year / 4) - (year / 100) + (year / 400);
if (month < 3)
{
if ((year % 4) == 0) numDays = numDays -1;
if ((year % 100) == 0) numDays = numDays + 1;
if ((year % 400) == 0) numDays -= numDays -1;
}
// Days subtracted up to 10/14/1582
numDays = numDays - subDays;
return numDays;
}
}
public class djd
{
public int djd()
{
final int subDays = 693961; // number of calculated days from 1/1/0 to January 1,1900
int numDays;
// Add days in years.
numDays = year * 365;
// Add days in the months.
if (month <= 2)
numDays = numDays + (month - 1) * 31;
else
numDays = numDays + ((month - 1) * 31) - ((4 * (month-1) + 27) / 10);
// Add days in the days.
numDays = numDays + day;
// Take care of leap years.
numDays = numDays + (year / 4) - (year / 100) + (year / 400);
// Handle special case of leap year but not yet leap day.
if (month < 3)
{
if ((year % 4) == 0) numDays = numDays - 1;
if ((year % 100) == 0) numDays = numDays + 1;
if ((year % .
P belongs to the V A group of the periodic table .pdfAnkitchhabra28
P belongs to the V A group of the periodic table so its valance is 5 ( having 5
electrons around it). It combines with single valenced Cl atoms makes one single bond.When it
combines with 3 Cl atoms forms 3 single bonds ie., 3 bonding pairs ( there is one lone pair on P).
Solution
P belongs to the V A group of the periodic table so its valance is 5 ( having 5
electrons around it). It combines with single valenced Cl atoms makes one single bond.When it
combines with 3 Cl atoms forms 3 single bonds ie., 3 bonding pairs ( there is one lone pair on P)..
only (2) can have equilibrium because all the re.pdfAnkitchhabra28
only (2) can have equilibrium because all the reactants and products are in the same
phase( gaseous here)
Solution
only (2) can have equilibrium because all the reactants and products are in the same
phase( gaseous here).
Intermolecular forces, also called van der Waals .pdfAnkitchhabra28
Intermolecular forces, also called van der Waals forces are attractions between
molecules. Between all molecules are London dispersion forces. These are present even if there
are other types of van der Waals forces present. We also see dipole-dipole attractions and
hydrogen bonding. SO4^2- == a nonpolar polyatomic ion, London dispersion forces. Since it is
charged it is attracted to water and positively charged ions.
Solution
Intermolecular forces, also called van der Waals forces are attractions between
molecules. Between all molecules are London dispersion forces. These are present even if there
are other types of van der Waals forces present. We also see dipole-dipole attractions and
hydrogen bonding. SO4^2- == a nonpolar polyatomic ion, London dispersion forces. Since it is
charged it is attracted to water and positively charged ions..
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Read| The latest issue of The Challenger is here! We are thrilled to announce that our school paper has qualified for the NATIONAL SCHOOLS PRESS CONFERENCE (NSPC) 2024. Thank you for your unwavering support and trust. Dive into the stories that made us stand out!
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Synthetic Fiber Construction in lab .pptxPavel ( NSTU)
Synthetic fiber production is a fascinating and complex field that blends chemistry, engineering, and environmental science. By understanding these aspects, students can gain a comprehensive view of synthetic fiber production, its impact on society and the environment, and the potential for future innovations. Synthetic fibers play a crucial role in modern society, impacting various aspects of daily life, industry, and the environment. ynthetic fibers are integral to modern life, offering a range of benefits from cost-effectiveness and versatility to innovative applications and performance characteristics. While they pose environmental challenges, ongoing research and development aim to create more sustainable and eco-friendly alternatives. Understanding the importance of synthetic fibers helps in appreciating their role in the economy, industry, and daily life, while also emphasizing the need for sustainable practices and innovation.
The French Revolution, which began in 1789, was a period of radical social and political upheaval in France. It marked the decline of absolute monarchies, the rise of secular and democratic republics, and the eventual rise of Napoleon Bonaparte. This revolutionary period is crucial in understanding the transition from feudalism to modernity in Europe.
For more information, visit-www.vavaclasses.com
Safalta Digital marketing institute in Noida, provide complete applications that encompass a huge range of virtual advertising and marketing additives, which includes search engine optimization, virtual communication advertising, pay-per-click on marketing, content material advertising, internet analytics, and greater. These university courses are designed for students who possess a comprehensive understanding of virtual marketing strategies and attributes.Safalta Digital Marketing Institute in Noida is a first choice for young individuals or students who are looking to start their careers in the field of digital advertising. The institute gives specialized courses designed and certification.
for beginners, providing thorough training in areas such as SEO, digital communication marketing, and PPC training in Noida. After finishing the program, students receive the certifications recognised by top different universitie, setting a strong foundation for a successful career in digital marketing.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Biological screening of herbal drugs: Introduction and Need for
Phyto-Pharmacological Screening, New Strategies for evaluating
Natural Products, In vitro evaluation techniques for Antioxidants, Antimicrobial and Anticancer drugs. In vivo evaluation techniques
for Anti-inflammatory, Antiulcer, Anticancer, Wound healing, Antidiabetic, Hepatoprotective, Cardio protective, Diuretics and
Antifertility, Toxicity studies as per OECD guidelines
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
Operation “Blue Star” is the only event in the history of Independent India where the state went into war with its own people. Even after about 40 years it is not clear if it was culmination of states anger over people of the region, a political game of power or start of dictatorial chapter in the democratic setup.
The people of Punjab felt alienated from main stream due to denial of their just demands during a long democratic struggle since independence. As it happen all over the word, it led to militant struggle with great loss of lives of military, police and civilian personnel. Killing of Indira Gandhi and massacre of innocent Sikhs in Delhi and other India cities was also associated with this movement.