(2 pt) DNA transposons can be as short as 80 bp , although the transposase enzyme requires an
ORF of 1500 bp. Please explain how these short transposons can translocate..
(1 point) The age distribution for senators in the 104th U-S- Congress.pdfBANSALANKIT1077
(1 point) The age distribution for senators in the 104th U.S. Congress was as follows: Consider
the following four events: A = event the senator is under 40 B = event the senator is in his or her
50 s C = event the senator is 40 or older D = event the senator is under 60 Find each of the
following probabilities:.
(1 point) The combined math and verbal scores for females taking the S.pdfBANSALANKIT1077
(1 point) The combined math and verbal scores for females taking the SAT-I test are normally
distributed with a mean of 998 and a standard deviation of 202 (based on date from the College
Board). If a college includes a minimum score of 825 among its requirements, what percentage
of females do not satisfy that requirement? %.
(1 point) In a survey of 269 people- the following data were obtained.pdfBANSALANKIT1077
(1 point) In a survey of 269 people, the following data were obtained relating gender to political
orientation: A person is randomly selected. What is the probability that the person is: a) Male? b)
Male and a Democrat? c) Male given that the person is a Democrat? d) Republican given that the
person is Male? e) Female given that the person is an Independent? f) Are the events Female and
Independent independent? Enter yes or no..
(0) Assignment 4-11- Adding Cursor Flexibility An administration page.pdfBANSALANKIT1077
(0) Assignment 4-11: Adding Cursor Flexibility An administration page in the DoGood Donor
application allows employees to enter multiple combinations of donor type and pledge amount to
determine data to retrieve. Create a block with a single cursor that allows retrieving data and
handling multiple combinations of donor type and pledge amount as input. The donor name and
pledge amount should be retrieved and displayed for each pledge that matches the donor type
and is greater than the pledge amount indicated. Use a collection to provide the input data. Test
the block using the following input data. Keep in mind that these inputs should be processed with
one execution of the block. The donor type code I represents Individual, and B represents
Business. Donor Type < Pledge Amount I 250 B 500. ( code of this query).
( 2 points) In a survey of 270 people- the following data were obtaine.pdfBANSALANKIT1077
( 2 points) In a survey of 270 people, the following data were obtained relating gender to
political orientation: A person is randomly selected. What is the probability that the person is: a)
Male? b) Male and a Democrat? c) Male given that the person is a Democrat? d) Republican
given that the person is Male? e) Female given that the person is an Independent? f) Are the
events Male and Republican independent? Enter yes or no..
(----IN C) Incorrect output on some test cases- I'm using a linked lis.pdfBANSALANKIT1077
(****IN C) Incorrect output on some test cases.
I'm using a linked list to take in information about a person and using structs to find the oldest
and youngest person in the list; however, I am having trouble with some test cases. For the most
part, The code seems to work the way I want it to, but certain test cases do have wrong outputs.
For example:
Input File Has Four Entries(2 Youngest are in the Same Month)
Here is the text file:
Smith,Bob,July,31,2002,CS/BS,Junior
Joe,Average,February,3,2002,CS/BS,Freshman
Doe,Jane,July,27,2003,CS/BS,Sophomore
Doe,John,July,12,2003,CS/BS,Sophomore:
Output:
Oldest - John Doe & Youngest Jane Doe.
John is clearly not the oldest in the list so please help, below is my code.
//add birthday struct here
struct birthday
{
int day, year;
char month[50];
}; typedef struct birthday bday;
//add node_t struct here (this struct will represent a node in the linked list)
struct node
{
char firstName[50], lastName[50], major[50], classStanding[50];
bday bd;
struct node* next;
};
typedef struct node node_t;
struct stats
{
// node pointer pointing at the oldest and youngest person in the list
node_t* oldest;
node_t* youngest;
// holding the number of birthdays in each month (0 = Jan. & 11 = Dec.)
int numBD[12];
}; typedef struct stats list_stats_t;
void add(node_t **node, node_t **head)
{
(*node)->next = *head;
*head = *node;
}
node_t* readNodeInfo(FILE* input)
{
node_t *node;
node = (node_t*)malloc(sizeof(node_t)); // allocates memory
char newLine[1]; // reads new line character
// uses scanset to read information between commas
fscanf(input, "%[^,], %[^,], %[^,], %d, %d, %[^,], %[^\n] %[\n]",
node->lastName, node->firstName, node->bd.month,
&node->bd.day, &node->bd.year, node->major,
node->classStanding, newLine);
return node;
}
node_t* createList(FILE* in, node_t** head)
{
node_t *temp;
while(!feof(in)) // loops until end of file in
{
temp = readNodeInfo(in); // calls function and assigns it to temp
add(&temp, head); // adds to linked list
}
return *head;
}
void printList(FILE* out, node_t* head) // prints data
{
// if there is no data in the linked list, print error code to terminal
if (head == NULL)
{
fprintf(stderr, "LIST IS EMPTY\n");
return;
}
node_t *temp = head;
printBorder(out);
fprintf(out, "\nList Info:\n");
while (temp != NULL)
{
fprintf(out, "Name:\t%s %s\n", temp->firstName, temp->lastName);
fprintf(out, "Date of Birth:\t%s %d, %d\n", temp->bd.month,
temp->bd.day,
temp->bd.year);
fprintf(out, "Major:\t%s\n", temp->major);
fprintf(out, "Year:\t%s\n\n", temp->classStanding);
temp = temp->next; // next element
}
printBorder(out);
}
void printBorder(FILE* out)
{
int i = 0;
for(i = 0; i < 80; i++)
fprintf(out,"*");
fprintf(out, "\n");
}
void deleteList(node_t** head) // deletes all nodes within the linked list
{
// deref head to get the real head
node_t* current = *head;
node_t* temp = NULL;
while (current != NULL)
{
temp = current->next;
free(current);
current = temp;
}
// deref head reference to affect the re.
'ulcan Flyovers offers scenic overflights of Mount Saint Helens- the v.pdfBANSALANKIT1077
'ulcan Flyovers offers scenic overflights of Mount Saint Helens, the volcano in Washington State
that explosively erupted in 1982 . Data oncerning the company's operations in July appear below:
'he company measures its activity in terms of flights. Customers can buy individual tickets for
overflights or hire an entire plane for an verflight at a discount. lequired: Prepare a flexible
budget performance report for July that includes revenue and spending variances and activity
variances. (Indlcate he effect of each varlance by selecting "F" for favorable, "U" for
unfavorable, ond "None" for no effect (l.e., zero varlance). Input Il amounts as positive values.).
'ear- What is the cost of common equity- Round your answer to two deci.pdfBANSALANKIT1077
The document asks what the cost of common equity is and requests the answer be rounded to two decimal places. It does not provide any other context or information to draw from for a summary.
(1 point) The age distribution for senators in the 104th U-S- Congress.pdfBANSALANKIT1077
(1 point) The age distribution for senators in the 104th U.S. Congress was as follows: Consider
the following four events: A = event the senator is under 40 B = event the senator is in his or her
50 s C = event the senator is 40 or older D = event the senator is under 60 Find each of the
following probabilities:.
(1 point) The combined math and verbal scores for females taking the S.pdfBANSALANKIT1077
(1 point) The combined math and verbal scores for females taking the SAT-I test are normally
distributed with a mean of 998 and a standard deviation of 202 (based on date from the College
Board). If a college includes a minimum score of 825 among its requirements, what percentage
of females do not satisfy that requirement? %.
(1 point) In a survey of 269 people- the following data were obtained.pdfBANSALANKIT1077
(1 point) In a survey of 269 people, the following data were obtained relating gender to political
orientation: A person is randomly selected. What is the probability that the person is: a) Male? b)
Male and a Democrat? c) Male given that the person is a Democrat? d) Republican given that the
person is Male? e) Female given that the person is an Independent? f) Are the events Female and
Independent independent? Enter yes or no..
(0) Assignment 4-11- Adding Cursor Flexibility An administration page.pdfBANSALANKIT1077
(0) Assignment 4-11: Adding Cursor Flexibility An administration page in the DoGood Donor
application allows employees to enter multiple combinations of donor type and pledge amount to
determine data to retrieve. Create a block with a single cursor that allows retrieving data and
handling multiple combinations of donor type and pledge amount as input. The donor name and
pledge amount should be retrieved and displayed for each pledge that matches the donor type
and is greater than the pledge amount indicated. Use a collection to provide the input data. Test
the block using the following input data. Keep in mind that these inputs should be processed with
one execution of the block. The donor type code I represents Individual, and B represents
Business. Donor Type < Pledge Amount I 250 B 500. ( code of this query).
( 2 points) In a survey of 270 people- the following data were obtaine.pdfBANSALANKIT1077
( 2 points) In a survey of 270 people, the following data were obtained relating gender to
political orientation: A person is randomly selected. What is the probability that the person is: a)
Male? b) Male and a Democrat? c) Male given that the person is a Democrat? d) Republican
given that the person is Male? e) Female given that the person is an Independent? f) Are the
events Male and Republican independent? Enter yes or no..
(----IN C) Incorrect output on some test cases- I'm using a linked lis.pdfBANSALANKIT1077
(****IN C) Incorrect output on some test cases.
I'm using a linked list to take in information about a person and using structs to find the oldest
and youngest person in the list; however, I am having trouble with some test cases. For the most
part, The code seems to work the way I want it to, but certain test cases do have wrong outputs.
For example:
Input File Has Four Entries(2 Youngest are in the Same Month)
Here is the text file:
Smith,Bob,July,31,2002,CS/BS,Junior
Joe,Average,February,3,2002,CS/BS,Freshman
Doe,Jane,July,27,2003,CS/BS,Sophomore
Doe,John,July,12,2003,CS/BS,Sophomore:
Output:
Oldest - John Doe & Youngest Jane Doe.
John is clearly not the oldest in the list so please help, below is my code.
//add birthday struct here
struct birthday
{
int day, year;
char month[50];
}; typedef struct birthday bday;
//add node_t struct here (this struct will represent a node in the linked list)
struct node
{
char firstName[50], lastName[50], major[50], classStanding[50];
bday bd;
struct node* next;
};
typedef struct node node_t;
struct stats
{
// node pointer pointing at the oldest and youngest person in the list
node_t* oldest;
node_t* youngest;
// holding the number of birthdays in each month (0 = Jan. & 11 = Dec.)
int numBD[12];
}; typedef struct stats list_stats_t;
void add(node_t **node, node_t **head)
{
(*node)->next = *head;
*head = *node;
}
node_t* readNodeInfo(FILE* input)
{
node_t *node;
node = (node_t*)malloc(sizeof(node_t)); // allocates memory
char newLine[1]; // reads new line character
// uses scanset to read information between commas
fscanf(input, "%[^,], %[^,], %[^,], %d, %d, %[^,], %[^\n] %[\n]",
node->lastName, node->firstName, node->bd.month,
&node->bd.day, &node->bd.year, node->major,
node->classStanding, newLine);
return node;
}
node_t* createList(FILE* in, node_t** head)
{
node_t *temp;
while(!feof(in)) // loops until end of file in
{
temp = readNodeInfo(in); // calls function and assigns it to temp
add(&temp, head); // adds to linked list
}
return *head;
}
void printList(FILE* out, node_t* head) // prints data
{
// if there is no data in the linked list, print error code to terminal
if (head == NULL)
{
fprintf(stderr, "LIST IS EMPTY\n");
return;
}
node_t *temp = head;
printBorder(out);
fprintf(out, "\nList Info:\n");
while (temp != NULL)
{
fprintf(out, "Name:\t%s %s\n", temp->firstName, temp->lastName);
fprintf(out, "Date of Birth:\t%s %d, %d\n", temp->bd.month,
temp->bd.day,
temp->bd.year);
fprintf(out, "Major:\t%s\n", temp->major);
fprintf(out, "Year:\t%s\n\n", temp->classStanding);
temp = temp->next; // next element
}
printBorder(out);
}
void printBorder(FILE* out)
{
int i = 0;
for(i = 0; i < 80; i++)
fprintf(out,"*");
fprintf(out, "\n");
}
void deleteList(node_t** head) // deletes all nodes within the linked list
{
// deref head to get the real head
node_t* current = *head;
node_t* temp = NULL;
while (current != NULL)
{
temp = current->next;
free(current);
current = temp;
}
// deref head reference to affect the re.
'ulcan Flyovers offers scenic overflights of Mount Saint Helens- the v.pdfBANSALANKIT1077
'ulcan Flyovers offers scenic overflights of Mount Saint Helens, the volcano in Washington State
that explosively erupted in 1982 . Data oncerning the company's operations in July appear below:
'he company measures its activity in terms of flights. Customers can buy individual tickets for
overflights or hire an entire plane for an verflight at a discount. lequired: Prepare a flexible
budget performance report for July that includes revenue and spending variances and activity
variances. (Indlcate he effect of each varlance by selecting "F" for favorable, "U" for
unfavorable, ond "None" for no effect (l.e., zero varlance). Input Il amounts as positive values.).
'ear- What is the cost of common equity- Round your answer to two deci.pdfBANSALANKIT1077
The document asks what the cost of common equity is and requests the answer be rounded to two decimal places. It does not provide any other context or information to draw from for a summary.
'Sense giving' can also be referred to as- developing a recipe that th.pdfBANSALANKIT1077
'Sense giving' can also be referred to as: developing a recipe that the change agent can use to
make sense of events making sense of complex data explaining how the change is going to work
communicating the vision Question 4 Which of the following does NOT describe Kotter's (1996)
description of a good vision? Desirable Imaginable Robust Feasible.
#2- Mary Decker- a 4-year-old who is covered under the CHIP program- p.pdfBANSALANKIT1077
#2. Mary Decker, a 4-year-old who is covered under the CHIP program, presents to her
pediatrician for her annual well-child check and immunizations. Is prior authorization required
for the immunizations?
Reason:
#3: Scenario: Ethel Ramsey, a Medica:id recipient, has been diagnosed with chronic kidney
disease and will require hemodialysis. Is prior authorization required for hemodialysis to begin?
3. Reason
#4: Scenario: A cancer patient, covered by Medicaid, has acquired a Stage III pressure ulcer
following her hospital admission. Is prior authorization required for treatment of the pressure
ulcer?
4. Reason:.
#4 concepts of programming language question- (a) Explain the advantag.pdfBANSALANKIT1077
#4 concepts of programming language question:
(a) Explain the advantages of a system programming language versus an application
programming language.
(b) Explain what are the differences in the structure of a compiler and an interpreter.
(c) Which is more efficient at runtime, an object-oriented programming program or a non
object-oriented program? Explain..
(2) Twelve major earthquakes on Richter mapnitades had shown here- Fin.pdfBANSALANKIT1077
(2) Twelve major earthquakes on Richter mapnitades had shown here. Find (a) the mean, (b) the
median, (c) the mode, and (d) Range. (e) Mid-Range 7.0 , 6.2 , 7.7 , 8.0 , 6.4 , 6.2 , 7.2 , 5.4 , 6.4
, 6.5 , 7.2 , 5.4 Write the data in ascending order below [2] Mean - [2] Median = [2] Mode = [2]
Range = Mid-Range =.
## Part B- Conway's Game of Life ### Introduction John Conway's Ga.pdfBANSALANKIT1077
## Part B: Conway's Game of Life
### Introduction
John Conway's Game of Life is a well known "game" with a very simple set of
rules that can simulate incredibly sophisticated behavior (as sophisticated, in
fact, as any computer program). Its setting -- which we'll refer to as the
game's "world" -- is a two-dimensional grid of cells, each one either living or
dead, and considered to be in contact with its eight neighbors (i.e.,
orthogonally or diagonally adjacent cells).
Given the state of each cell in the world at time $t_n$, we can compute the
state of each cell at time $t_{n+1}$ (i.e., one generation later) using the
following rules:
- **Birth rule**: a dead cell with exactly three living neighbors comes alive.
- **Survival rule**: a living cell with two to three neighbors remains alive.
- **Death rule**: a living cell with zero or one neighbors dies in isolation; a
living cell with four or more neighbors dies of overcrowding
The image below depicts a world before and after the rules are applied to a
group of cells.
<img src="images/game-of-life-1.png"
alt="Game of Life example"
style="display: block; margin: 0 auto; width:650px;"/>
Many living cell patterns have been discovered that result in
stable/non-changing shapes and repeatedly oscillating shapes, among other types
(see the [example patterns in the Game of Life Wikipedia
article](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life#Examples_of_patterns)
for some). An interesting fact about the Game of Life is that there is no
algorithm which can reliably predict whether or not a given pattern will appear
in the world given some starting state (this is related to the halting problem,
covered in CS 330).
Since each world state (after the initial state) is a pure function of the
preceding one, and the game world can be easily modeled using lists,
implementing the Game of Life makes for another fun list processing
exercise!
### Implementation in Haskell
We will represent the game world using the type: `((Int,Int), [[Bool]])`. I.e.,
as a tuple where the first element is a tuple of two integers $(w,h)$
representing the width and height of the world, and the second element is a list
of lists of Booleans representing the 2D grid, where each sublist of length
$w$ represents the cells in a row of the world, with $h$ sublists total.
A barren (i.e., containing only dead cells) world can be created with the
following function, which takes as input the width and height:
makeWorld :: (Int,Int) -> ((Int,Int), [[Bool]])
makeWorld dims@(w,h) = (dims, replicate h (replicate w False))
In "src/MP2b.hs" you will find declarations for functions you must complete to
implement the Game of Life. The first two functions compute the number of live
neighbors of a cell and the next world state:
liveNeighbors :: ((Int,Int), [[Bool]]) -- world
-> (Int,Int) -- cell
-> Int -- number of living neighbors
nextWorld :: ((Int,Int), [[Bool]]) -- world
-> ((Int,Int), [[Bool]]) -- next world (one generation later)
To animat.
(10 pts)- Let the random variable X have the following CDF- Find P(0X-.pdfBANSALANKIT1077
(10 pts). Let the random variable X have the following CDF. Find P ( 0 X < 1 ) . F ( X ) = 0 0.3 (
1 + x ) ( 0.4 ) x + 0.4 1 x < 1 1 x < 0 0 x < 1 x > 1.
(10 peints) Given the Pceitional Liat clak belaw (implemented with a d.pdfBANSALANKIT1077
(10 peints) Given the Pceitional Liat clak belaw (implemented with a doubly linked liat),
cemplete its resove. areliod. Yoo are givea 12 blank lise (numbered below) to mier your oode,
which is mare than is neveded. public elaad Linkedponitionalliatco inpleaantin Poaitionalisate (
private atatic claaa Nodecp Iaplenenta Poeitioncto i 1/ Full Iaplesentation detaile caiteed: andy
public function signaturea are 1 sated pablie Node ( s . Nodese P , Node ( // code oniteed / )
publie E getelapent () throvs Il1ogalstateErcoption ( / code opitced */ ) pablie Nadecs getprev( )
(/e code omitted */) publie Nodeeb getVext () ( / e code oeited * ) public vold netElenest (E o) ( /
code onitted // ) pubiic void aetPrev (Nodo f /4 code oniteed //5 private NodecE header: private
Nodece trailer; private int aize = 0 t If You may use thia validate function. You don't need to
ispleaent thia funetion. 1. Implenent thi function in Java public E remove (PositioncE> p) throus
I1logalArgumentExceptica f.
(1) Briefly describe the terms sanitization- disinfection- sterilizati.pdfBANSALANKIT1077
Sanitization cleans surfaces, disinfection kills bacteria and viruses on surfaces, sterilization kills all microbes on medical instruments, and antisepsis prevents infection during surgery. Autoclaving uses steam under pressure for sterilization, incineration uses high heat, ionizing radiation uses gamma rays or electron beams, liquid filtration sterilizes fluids, and ethylene oxide uses gas for sterilizing equipment through a chemical process.
(1) Write out the POWER SET- Keep in mind a subset can be made of any.pdfBANSALANKIT1077
(1) Write out the POWER SET. Keep in mind a subset can be made of any combination of
elements appearing in the original set (provided it's a UNIQUE combination). (20 pts.) { 1 , 3 , 7
}.
(1) Question- Describe the five components of an Information System- (.pdfBANSALANKIT1077
(1) Question: Describe the five components of an Information System? (2) A Banking
Information System such as an online banking platform, allows banks to offer their customers
convenient, efficient, and secure access to banking services anytime and anywhere. Customers
can use it to manage their bank accounts, transfer funds, pay bills, and access other banking
services. Question: Identify and provide examples of each component of an online Banking
Information System? Briefly explain their role in the system's overall functioning to provide
customers with convenient, secure, and reliable access to banking services. For example: A
online Banking Information System first component Hardware, includes servers that store
customer data and manage transactions, and so on..
(1) (5 points) A doubly linked list is a linear data structure where (.pdfBANSALANKIT1077
(1) (5 points) A doubly linked list is a linear data structure where (1) each element (called node)
is a separate "object" and (2) each node contains three pieces of information - a reference to the
previous node, another reference to the next node, and (a reference to) data. Below is an
example: The entry point into a doubly linked list is called the front of the list. The front is not a
separate node, but a reference to the first node. Similarly, a doubly linked list has a reference
(called last) to the last node of the list. You may assume that the data field's type is int. (a) Write
a Java program (in file DLList.java) that describes the relationships between the doubly linked
list (in class DLList) and node (in class Node)..
(1 points) A random sample of registered voters trom Tampa- FL were as.pdfBANSALANKIT1077
(1 points) A random sample of registered voters trom Tampa, FL were asked it they thought
woekers who have ilegally entered tho US should be fillowed to keep their fobs and apply for US
citizenship. (i) alowed to koep their jobs as temporary guest workers but not allowed to apply for
US citizenshp, or (i) lose their iobs and have fo kave the country. The results of the survey by
poitical ideology are consistent wht the table shown below. Round all answers to four decimal
placen. 1. What proportion of these Tampa, FL visers idently themsolves as conservative? 2.
What properton of these Tampa, F. voters are in favor of the citizenahip option? 3. What
proportion of the voters idechly themselves as liberal and ane in favor of the guest worker
option? 4. What proportion of the voters wha idently themsetes as conservatve are in favor of the
chienship opton? 5. What propotion of the voter whio identily thersatios ss moderate are in taver
of the cilienshp cetcen? 6. What proporion of the woters who idertfy themselves as iberis are in
taver of the eairenakip optien?.
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <iterator>
/************************************************************/
// Local includes
/************************************************************/
// Using declarations
// YOU DO NOT NECESSARILY NEED TO USE ALL OF THESE!
using std::copy;
using std::copy_backward;
using std::distance;
using std::fill;
using std::ostream;
using std::ptrdiff_t;
/************************************************************/
template<typename T>
class Array
{
public:
//*****************************************************
// DO NOT MODIFY THIS SECTION!
// Some standard Container type aliases
using value_type = T;
// Iterators are just pointers to objects of type T
using iterator = value_type*;
using const_iterator = const value_type*;
using reference = value_type&;
using const_reference = const value_type&;
using size_type = size_t;
using difference_type = ptrdiff_t;
//*****************************************************
// Default ctor.
// Initialize an empty Array.
// This method is complete, and does NOT need modification.
// Remember to use a _member initialization list_ for each ctor,
// like I have below for the default ctor.
Array ()
: m_size (0),
m_capacity (0),
m_array (nullptr)
{
}
// Size ctor.
// Initialize an Array of size "pSize", with each element
// set to "value".
explicit Array (size_t pSize, const T& value = T ())
: m_size (pSize),
m_capacity (pSize),
m_array (new T[m_capacity])
{
fill (begin (), end (), value);
}
// TODO!
// Range ctor.
// Initialize an Array from the range [first, last).
// "first" and "last" must be Array iterators or pointers
// into a primitive array.
Array (const_iterator first, const_iterator last)
:m_size(distance(first,last)),m_capacity(m_size),m_array(new T[m_capacity])
{
copy(first,last,m_array);
}
// TODO!
// Copy ctor.
// Initialize this object from "a".
Array (const Array& a)
:m_size(a.m_size),m_capacity(a.m_capacity),m_array(new T[m_capacity])
{
copy(a.begin(),a.end(),m_array);
}
// TODO!
// Destructor.
// Release allocated memory.
~Array ()
{
delete[] m_array;
}
// TODO!
// Assignment operator.
// Assign "a" to this object.
// Be careful to check for self-assignment.
Array&
operator= (const Array& a)
{
if (this != &a)
{
delete[] m_array;
m_size = a.m_size;
m_capacity = a.m_capacity;
m_array = new T[m_capacity];
copy(a.begin(),a.end(),m_array);
}
return *this;
}
// Return the size.
size_t
size () const
{
return m_size;
}
// TODO!
// Return true if this Array is empty, false o/w.
bool
empty () const
{
return m_size == 0;
}
// TODO!
// Return the capacity.
size_t
capacity () const
{
return m_capacity;
}
// TODO!
// Return the element at position "index".
T& operator[] (size_t index)
{
return m_array[index];
}
// TODO!
const T& operator[] (size_t index) const
{
return m_array[index];
}
// TODO!
// Insert an element at the back.
// If the capacity is insufficient, DOUBLE it.
// If the capacity is 0, increase it to 1.
void
push_back (const T&.
(1) Audit Report- Are the financial statements in the report audited b.pdfBANSALANKIT1077
(1) Audit Report. Are the financial statements in the report audited by an independent CPA, state
auditors, or auditors employed by the government being audited? Does the auditor indicate who
is responsible for preparing the financial statements? Does the auditor express an opinion that the
statements are "in accordance with gencrally accepted accounting principles applicable to
governmental entities in the United States" or some other phrase? Is the opinion qualified in
some manner, disclaimed, or adverse? Does the auditor indicate that the opinion covers the basic
financial statements or that plus combining statements? (2) Basic Financial Statements. Does the
CAFR contain the two governmentwide financial statements and seven fund statements and
required reconciliation? (3) Notes to the Financial Statements. How many notes follow the
required basic financial statements? Is there a phrase at the bottom of the basic financial
statements indicating that the notes are an integral part of the financial statements? (4) Individual
Fund and Combining Statements. Following the notes to the financial statements, does the CAFR
provide combining and individual fund statements? Do these combining statements aggregate all
the funds of a given fund type or all the nonmajor funds? (5) Management's Discussion and
Analysis (MD\&A). Does the CAFR contain an MD\&A? If so, where is it located and what type
of information does it contain?.
Temple of Asclepius in Thrace. Excavation resultsKrassimira Luka
The temple and the sanctuary around were dedicated to Asklepios Zmidrenus. This name has been known since 1875 when an inscription dedicated to him was discovered in Rome. The inscription is dated in 227 AD and was left by soldiers originating from the city of Philippopolis (modern Plovdiv).
বাংলাদেশের অর্থনৈতিক সমীক্ষা ২০২৪ [Bangladesh Economic Review 2024 Bangla.pdf] কম্পিউটার , ট্যাব ও স্মার্ট ফোন ভার্সন সহ সম্পূর্ণ বাংলা ই-বুক বা pdf বই " সুচিপত্র ...বুকমার্ক মেনু 🔖 ও হাইপার লিংক মেনু 📝👆 যুক্ত ..
আমাদের সবার জন্য খুব খুব গুরুত্বপূর্ণ একটি বই ..বিসিএস, ব্যাংক, ইউনিভার্সিটি ভর্তি ও যে কোন প্রতিযোগিতা মূলক পরীক্ষার জন্য এর খুব ইম্পরট্যান্ট একটি বিষয় ...তাছাড়া বাংলাদেশের সাম্প্রতিক যে কোন ডাটা বা তথ্য এই বইতে পাবেন ...
তাই একজন নাগরিক হিসাবে এই তথ্য গুলো আপনার জানা প্রয়োজন ...।
বিসিএস ও ব্যাংক এর লিখিত পরীক্ষা ...+এছাড়া মাধ্যমিক ও উচ্চমাধ্যমিকের স্টুডেন্টদের জন্য অনেক কাজে আসবে ...
'Sense giving' can also be referred to as- developing a recipe that th.pdfBANSALANKIT1077
'Sense giving' can also be referred to as: developing a recipe that the change agent can use to
make sense of events making sense of complex data explaining how the change is going to work
communicating the vision Question 4 Which of the following does NOT describe Kotter's (1996)
description of a good vision? Desirable Imaginable Robust Feasible.
#2- Mary Decker- a 4-year-old who is covered under the CHIP program- p.pdfBANSALANKIT1077
#2. Mary Decker, a 4-year-old who is covered under the CHIP program, presents to her
pediatrician for her annual well-child check and immunizations. Is prior authorization required
for the immunizations?
Reason:
#3: Scenario: Ethel Ramsey, a Medica:id recipient, has been diagnosed with chronic kidney
disease and will require hemodialysis. Is prior authorization required for hemodialysis to begin?
3. Reason
#4: Scenario: A cancer patient, covered by Medicaid, has acquired a Stage III pressure ulcer
following her hospital admission. Is prior authorization required for treatment of the pressure
ulcer?
4. Reason:.
#4 concepts of programming language question- (a) Explain the advantag.pdfBANSALANKIT1077
#4 concepts of programming language question:
(a) Explain the advantages of a system programming language versus an application
programming language.
(b) Explain what are the differences in the structure of a compiler and an interpreter.
(c) Which is more efficient at runtime, an object-oriented programming program or a non
object-oriented program? Explain..
(2) Twelve major earthquakes on Richter mapnitades had shown here- Fin.pdfBANSALANKIT1077
(2) Twelve major earthquakes on Richter mapnitades had shown here. Find (a) the mean, (b) the
median, (c) the mode, and (d) Range. (e) Mid-Range 7.0 , 6.2 , 7.7 , 8.0 , 6.4 , 6.2 , 7.2 , 5.4 , 6.4
, 6.5 , 7.2 , 5.4 Write the data in ascending order below [2] Mean - [2] Median = [2] Mode = [2]
Range = Mid-Range =.
## Part B- Conway's Game of Life ### Introduction John Conway's Ga.pdfBANSALANKIT1077
## Part B: Conway's Game of Life
### Introduction
John Conway's Game of Life is a well known "game" with a very simple set of
rules that can simulate incredibly sophisticated behavior (as sophisticated, in
fact, as any computer program). Its setting -- which we'll refer to as the
game's "world" -- is a two-dimensional grid of cells, each one either living or
dead, and considered to be in contact with its eight neighbors (i.e.,
orthogonally or diagonally adjacent cells).
Given the state of each cell in the world at time $t_n$, we can compute the
state of each cell at time $t_{n+1}$ (i.e., one generation later) using the
following rules:
- **Birth rule**: a dead cell with exactly three living neighbors comes alive.
- **Survival rule**: a living cell with two to three neighbors remains alive.
- **Death rule**: a living cell with zero or one neighbors dies in isolation; a
living cell with four or more neighbors dies of overcrowding
The image below depicts a world before and after the rules are applied to a
group of cells.
<img src="images/game-of-life-1.png"
alt="Game of Life example"
style="display: block; margin: 0 auto; width:650px;"/>
Many living cell patterns have been discovered that result in
stable/non-changing shapes and repeatedly oscillating shapes, among other types
(see the [example patterns in the Game of Life Wikipedia
article](https://en.wikipedia.org/wiki/Conway%27s_Game_of_Life#Examples_of_patterns)
for some). An interesting fact about the Game of Life is that there is no
algorithm which can reliably predict whether or not a given pattern will appear
in the world given some starting state (this is related to the halting problem,
covered in CS 330).
Since each world state (after the initial state) is a pure function of the
preceding one, and the game world can be easily modeled using lists,
implementing the Game of Life makes for another fun list processing
exercise!
### Implementation in Haskell
We will represent the game world using the type: `((Int,Int), [[Bool]])`. I.e.,
as a tuple where the first element is a tuple of two integers $(w,h)$
representing the width and height of the world, and the second element is a list
of lists of Booleans representing the 2D grid, where each sublist of length
$w$ represents the cells in a row of the world, with $h$ sublists total.
A barren (i.e., containing only dead cells) world can be created with the
following function, which takes as input the width and height:
makeWorld :: (Int,Int) -> ((Int,Int), [[Bool]])
makeWorld dims@(w,h) = (dims, replicate h (replicate w False))
In "src/MP2b.hs" you will find declarations for functions you must complete to
implement the Game of Life. The first two functions compute the number of live
neighbors of a cell and the next world state:
liveNeighbors :: ((Int,Int), [[Bool]]) -- world
-> (Int,Int) -- cell
-> Int -- number of living neighbors
nextWorld :: ((Int,Int), [[Bool]]) -- world
-> ((Int,Int), [[Bool]]) -- next world (one generation later)
To animat.
(10 pts)- Let the random variable X have the following CDF- Find P(0X-.pdfBANSALANKIT1077
(10 pts). Let the random variable X have the following CDF. Find P ( 0 X < 1 ) . F ( X ) = 0 0.3 (
1 + x ) ( 0.4 ) x + 0.4 1 x < 1 1 x < 0 0 x < 1 x > 1.
(10 peints) Given the Pceitional Liat clak belaw (implemented with a d.pdfBANSALANKIT1077
(10 peints) Given the Pceitional Liat clak belaw (implemented with a doubly linked liat),
cemplete its resove. areliod. Yoo are givea 12 blank lise (numbered below) to mier your oode,
which is mare than is neveded. public elaad Linkedponitionalliatco inpleaantin Poaitionalisate (
private atatic claaa Nodecp Iaplenenta Poeitioncto i 1/ Full Iaplesentation detaile caiteed: andy
public function signaturea are 1 sated pablie Node ( s . Nodese P , Node ( // code oniteed / )
publie E getelapent () throvs Il1ogalstateErcoption ( / code opitced */ ) pablie Nadecs getprev( )
(/e code omitted */) publie Nodeeb getVext () ( / e code oeited * ) public vold netElenest (E o) ( /
code onitted // ) pubiic void aetPrev (Nodo f /4 code oniteed //5 private NodecE header: private
Nodece trailer; private int aize = 0 t If You may use thia validate function. You don't need to
ispleaent thia funetion. 1. Implenent thi function in Java public E remove (PositioncE> p) throus
I1logalArgumentExceptica f.
(1) Briefly describe the terms sanitization- disinfection- sterilizati.pdfBANSALANKIT1077
Sanitization cleans surfaces, disinfection kills bacteria and viruses on surfaces, sterilization kills all microbes on medical instruments, and antisepsis prevents infection during surgery. Autoclaving uses steam under pressure for sterilization, incineration uses high heat, ionizing radiation uses gamma rays or electron beams, liquid filtration sterilizes fluids, and ethylene oxide uses gas for sterilizing equipment through a chemical process.
(1) Write out the POWER SET- Keep in mind a subset can be made of any.pdfBANSALANKIT1077
(1) Write out the POWER SET. Keep in mind a subset can be made of any combination of
elements appearing in the original set (provided it's a UNIQUE combination). (20 pts.) { 1 , 3 , 7
}.
(1) Question- Describe the five components of an Information System- (.pdfBANSALANKIT1077
(1) Question: Describe the five components of an Information System? (2) A Banking
Information System such as an online banking platform, allows banks to offer their customers
convenient, efficient, and secure access to banking services anytime and anywhere. Customers
can use it to manage their bank accounts, transfer funds, pay bills, and access other banking
services. Question: Identify and provide examples of each component of an online Banking
Information System? Briefly explain their role in the system's overall functioning to provide
customers with convenient, secure, and reliable access to banking services. For example: A
online Banking Information System first component Hardware, includes servers that store
customer data and manage transactions, and so on..
(1) (5 points) A doubly linked list is a linear data structure where (.pdfBANSALANKIT1077
(1) (5 points) A doubly linked list is a linear data structure where (1) each element (called node)
is a separate "object" and (2) each node contains three pieces of information - a reference to the
previous node, another reference to the next node, and (a reference to) data. Below is an
example: The entry point into a doubly linked list is called the front of the list. The front is not a
separate node, but a reference to the first node. Similarly, a doubly linked list has a reference
(called last) to the last node of the list. You may assume that the data field's type is int. (a) Write
a Java program (in file DLList.java) that describes the relationships between the doubly linked
list (in class DLList) and node (in class Node)..
(1 points) A random sample of registered voters trom Tampa- FL were as.pdfBANSALANKIT1077
(1 points) A random sample of registered voters trom Tampa, FL were asked it they thought
woekers who have ilegally entered tho US should be fillowed to keep their fobs and apply for US
citizenship. (i) alowed to koep their jobs as temporary guest workers but not allowed to apply for
US citizenshp, or (i) lose their iobs and have fo kave the country. The results of the survey by
poitical ideology are consistent wht the table shown below. Round all answers to four decimal
placen. 1. What proportion of these Tampa, FL visers idently themsolves as conservative? 2.
What properton of these Tampa, F. voters are in favor of the citizenahip option? 3. What
proportion of the voters idechly themselves as liberal and ane in favor of the guest worker
option? 4. What proportion of the voters wha idently themsetes as conservatve are in favor of the
chienship opton? 5. What propotion of the voter whio identily thersatios ss moderate are in taver
of the cilienshp cetcen? 6. What proporion of the woters who idertfy themselves as iberis are in
taver of the eairenakip optien?.
#include <algorithm>
#include <cstdlib>
#include <iostream>
#include <iterator>
/************************************************************/
// Local includes
/************************************************************/
// Using declarations
// YOU DO NOT NECESSARILY NEED TO USE ALL OF THESE!
using std::copy;
using std::copy_backward;
using std::distance;
using std::fill;
using std::ostream;
using std::ptrdiff_t;
/************************************************************/
template<typename T>
class Array
{
public:
//*****************************************************
// DO NOT MODIFY THIS SECTION!
// Some standard Container type aliases
using value_type = T;
// Iterators are just pointers to objects of type T
using iterator = value_type*;
using const_iterator = const value_type*;
using reference = value_type&;
using const_reference = const value_type&;
using size_type = size_t;
using difference_type = ptrdiff_t;
//*****************************************************
// Default ctor.
// Initialize an empty Array.
// This method is complete, and does NOT need modification.
// Remember to use a _member initialization list_ for each ctor,
// like I have below for the default ctor.
Array ()
: m_size (0),
m_capacity (0),
m_array (nullptr)
{
}
// Size ctor.
// Initialize an Array of size "pSize", with each element
// set to "value".
explicit Array (size_t pSize, const T& value = T ())
: m_size (pSize),
m_capacity (pSize),
m_array (new T[m_capacity])
{
fill (begin (), end (), value);
}
// TODO!
// Range ctor.
// Initialize an Array from the range [first, last).
// "first" and "last" must be Array iterators or pointers
// into a primitive array.
Array (const_iterator first, const_iterator last)
:m_size(distance(first,last)),m_capacity(m_size),m_array(new T[m_capacity])
{
copy(first,last,m_array);
}
// TODO!
// Copy ctor.
// Initialize this object from "a".
Array (const Array& a)
:m_size(a.m_size),m_capacity(a.m_capacity),m_array(new T[m_capacity])
{
copy(a.begin(),a.end(),m_array);
}
// TODO!
// Destructor.
// Release allocated memory.
~Array ()
{
delete[] m_array;
}
// TODO!
// Assignment operator.
// Assign "a" to this object.
// Be careful to check for self-assignment.
Array&
operator= (const Array& a)
{
if (this != &a)
{
delete[] m_array;
m_size = a.m_size;
m_capacity = a.m_capacity;
m_array = new T[m_capacity];
copy(a.begin(),a.end(),m_array);
}
return *this;
}
// Return the size.
size_t
size () const
{
return m_size;
}
// TODO!
// Return true if this Array is empty, false o/w.
bool
empty () const
{
return m_size == 0;
}
// TODO!
// Return the capacity.
size_t
capacity () const
{
return m_capacity;
}
// TODO!
// Return the element at position "index".
T& operator[] (size_t index)
{
return m_array[index];
}
// TODO!
const T& operator[] (size_t index) const
{
return m_array[index];
}
// TODO!
// Insert an element at the back.
// If the capacity is insufficient, DOUBLE it.
// If the capacity is 0, increase it to 1.
void
push_back (const T&.
(1) Audit Report- Are the financial statements in the report audited b.pdfBANSALANKIT1077
(1) Audit Report. Are the financial statements in the report audited by an independent CPA, state
auditors, or auditors employed by the government being audited? Does the auditor indicate who
is responsible for preparing the financial statements? Does the auditor express an opinion that the
statements are "in accordance with gencrally accepted accounting principles applicable to
governmental entities in the United States" or some other phrase? Is the opinion qualified in
some manner, disclaimed, or adverse? Does the auditor indicate that the opinion covers the basic
financial statements or that plus combining statements? (2) Basic Financial Statements. Does the
CAFR contain the two governmentwide financial statements and seven fund statements and
required reconciliation? (3) Notes to the Financial Statements. How many notes follow the
required basic financial statements? Is there a phrase at the bottom of the basic financial
statements indicating that the notes are an integral part of the financial statements? (4) Individual
Fund and Combining Statements. Following the notes to the financial statements, does the CAFR
provide combining and individual fund statements? Do these combining statements aggregate all
the funds of a given fund type or all the nonmajor funds? (5) Management's Discussion and
Analysis (MD\&A). Does the CAFR contain an MD\&A? If so, where is it located and what type
of information does it contain?.
Temple of Asclepius in Thrace. Excavation resultsKrassimira Luka
The temple and the sanctuary around were dedicated to Asklepios Zmidrenus. This name has been known since 1875 when an inscription dedicated to him was discovered in Rome. The inscription is dated in 227 AD and was left by soldiers originating from the city of Philippopolis (modern Plovdiv).
বাংলাদেশের অর্থনৈতিক সমীক্ষা ২০২৪ [Bangladesh Economic Review 2024 Bangla.pdf] কম্পিউটার , ট্যাব ও স্মার্ট ফোন ভার্সন সহ সম্পূর্ণ বাংলা ই-বুক বা pdf বই " সুচিপত্র ...বুকমার্ক মেনু 🔖 ও হাইপার লিংক মেনু 📝👆 যুক্ত ..
আমাদের সবার জন্য খুব খুব গুরুত্বপূর্ণ একটি বই ..বিসিএস, ব্যাংক, ইউনিভার্সিটি ভর্তি ও যে কোন প্রতিযোগিতা মূলক পরীক্ষার জন্য এর খুব ইম্পরট্যান্ট একটি বিষয় ...তাছাড়া বাংলাদেশের সাম্প্রতিক যে কোন ডাটা বা তথ্য এই বইতে পাবেন ...
তাই একজন নাগরিক হিসাবে এই তথ্য গুলো আপনার জানা প্রয়োজন ...।
বিসিএস ও ব্যাংক এর লিখিত পরীক্ষা ...+এছাড়া মাধ্যমিক ও উচ্চমাধ্যমিকের স্টুডেন্টদের জন্য অনেক কাজে আসবে ...
Communicating effectively and consistently with students can help them feel at ease during their learning experience and provide the instructor with a communication trail to track the course's progress. This workshop will take you through constructing an engaging course container to facilitate effective communication.
This document provides an overview of wound healing, its functions, stages, mechanisms, factors affecting it, and complications.
A wound is a break in the integrity of the skin or tissues, which may be associated with disruption of the structure and function.
Healing is the body’s response to injury in an attempt to restore normal structure and functions.
Healing can occur in two ways: Regeneration and Repair
There are 4 phases of wound healing: hemostasis, inflammation, proliferation, and remodeling. This document also describes the mechanism of wound healing. Factors that affect healing include infection, uncontrolled diabetes, poor nutrition, age, anemia, the presence of foreign bodies, etc.
Complications of wound healing like infection, hyperpigmentation of scar, contractures, and keloid formation.
Walmart Business+ and Spark Good for Nonprofits.pdfTechSoup
"Learn about all the ways Walmart supports nonprofit organizations.
You will hear from Liz Willett, the Head of Nonprofits, and hear about what Walmart is doing to help nonprofits, including Walmart Business and Spark Good. Walmart Business+ is a new offer for nonprofits that offers discounts and also streamlines nonprofits order and expense tracking, saving time and money.
The webinar may also give some examples on how nonprofits can best leverage Walmart Business+.
The event will cover the following::
Walmart Business + (https://business.walmart.com/plus) is a new shopping experience for nonprofits, schools, and local business customers that connects an exclusive online shopping experience to stores. Benefits include free delivery and shipping, a 'Spend Analytics” feature, special discounts, deals and tax-exempt shopping.
Special TechSoup offer for a free 180 days membership, and up to $150 in discounts on eligible orders.
Spark Good (walmart.com/sparkgood) is a charitable platform that enables nonprofits to receive donations directly from customers and associates.
Answers about how you can do more with Walmart!"
(2 pt) DNA transposons can be as short as 80bp- although the transposa.pdf
1. (2 pt) DNA transposons can be as short as 80 bp , although the transposase enzyme requires an
ORF of 1500 bp. Please explain how these short transposons can translocate.