Educational Objectives: After successfully completing this assignment, the student should be
able to accomplish the following:
Use a loop structure to read user input of unknown size through std::cin and store it in an array.
Use conditional branching to selectively perform computational tasks.
Declare (prototype) and define (implement) functions.
Declare and define functions with arguments of various types, including pointers, references,
const pointers, and const references.
Call functions, making appropriate use of the function arguments and their types.
Make decisions as to appropriate function call parameter type, from among: value, reference,
const reference, pointer, and const pointer.
Create, edit, build and run multi-file projects using the Linux/Emacs/Make environment
announced in the course organizer.
Operational Objectives: Create a project that computes the mean and median of a sequence of
integers received via standard input.
Deliverables: Files: stats.h, stats.cpp, main.cpp, makefile, log.txt. Note that these files constitute
a self-contained project.
Assessment Rubric: The following will be used as a guide when assessing the assignment:
Please self-evaluate your work as part of the development process.
Background
Given a finite collection of n numbers:
The mean is the sum of the numbers divided by n, and
The median is the middle value (in case n is odd) or the average of the two middle values (in
case n is even).
Note that to find the median of a collection of data, it is convenient to first sort the data, that is,
put the data in increasing (or non-decreasing) order. Then the median is just the middle datum in
the sorted sequence (or the average of the two middle data, if there are an even number).
One of the more intuitive sort algorithms is called Insertion Sort, which operates on an array
a[0..n-1] of elements. The idea is to \"insert\" the value of a[i] into the sub-array a[0..i-1] at the
largest possible index that results in the expanded sub-array a[0..i] sorted. We insert at the
highest possible index in order not to place the value ahead of any previously inserted elements
with the same value. The subarray a[0..i-1] is assumed to be sorted at the beginning of each
insertion step. The base case consists of a one-element array a[0..0], which is always sorted.
Here is a \"pseudocode\" description of the algorithm:
The inner loop copies all elements in a[0..i-1] up one index until the correct place for t is found.
Then put t in that place.
Procedural Requirements:
Begin a log file named log.txt. This should be an ascii text file in cop3330/proj1 with the
following header:
This file should document all work done by date and time, including all testing and test results.
Create and work within a separate subdirectory cop3330/proj1. Review the COP 3330 rules
found in Introduction/Work Rules.
Copy all of the files from LIB/proj1. These should include:
In addition you should have the script submit.sh in either your .bin or your.
CS 23001 Computer Science II Data Structures & AbstractionPro.docxfaithxdunce63732
CS 23001 Computer Science II: Data Structures & Abstraction
Project #4
Spring 2015
Objectives:
· Develop and use a Tree ADT (n-ary)
· Apply and use tree traversal algorithms
· Manipulate trees by inserting and deleting nodes
· Apply and use STL
Problem:
Build a program profiler. Construct a program to instrument C++ source code to support program profiling.
It is often important to determine how many times a function or statement is executed. This is useful not only for debugging but for determining what parts of a program may need to be optimized. This process is called profiling. That is, a execution profile presents how many times each part of a program is executed using a given set of input data (or for some run time scenario). To compute a profile, statements need to be added to the code that keep track of how many times a function or statement is executed. The process of adding these statements is called instrumenting the code.
To implement a profiler one must first parse the source code and generate an Abstract Syntax Tree (AST) of the code. Each node of the AST describes the syntactic category of the code stored within it (function, statement, while-statement, etc.). So at the top level is a syntactic category corresponding to a program, class, or function (such as in the case of a main). Under that are sub-trees that further detail the syntactic categories of each part of the code. Such things as declarations, parameter lists, while-statement, and expression statements will describe the various parts of the program.
After the AST is generated it can then be traversed and the appropriate syntactic structures can be found that need to be instrumented. Once a construct is found, say a function, new code can be inserted that keeps track of how many times that function is executed.
The most difficult part of constructing a profiler is correctly parsing the source code. Unfortunately, C++ is notoriously difficult to parse. So here we will use a parsing tool called src2srcml. This tool reads in C++ code and marks up the code with XML tags (e.g., block, if, while, condition, name, etc). That is, the output is an AST in XML. The XML representation is called srcML (source code markup language).
A number of srcML data files are provided for the project. However, you can use your own program as input. To run srcML on wasp or hornet you will first need to set a PATH variable so the command can be found. You need to execute the command:
export PATH=/local/opt/srcml/bin:$PATH
It is best if you insert this line into your .bash_profile file in your home directory on wasp/hornet.
Then to generate the srcML file for your own code use the following:
src2srcml main.cpp -o main.cpp.xml
Use the following for a list of all options:
src2srcml --help
More information about srcML can be found at www.srcML.org including a list of all the tag names (see Getting Started). You can also download srcML if you want it on your own machine.
Your .
Reaction StatisticsBackgroundWhen collecting experimental data f.pdffashionbigchennai
Reaction Statistics
Background
When collecting experimental data from chemical reactions, it’s often useful to generate
statistics based on the data. One experimental measure is the reaction rate in moles per second,
representing the amount of product formed per unit time. If we have a set of these reaction rates
collected in a data file, we can calculate summary statistical information, such as the minimum
and maximum values, the arithmetic mean, variance, and standard deviation.
Finding the minimum and maximum are straightforward: we scan through all the data, and keep
track of the smallest and largest values encountered. The arithmetic mean (or average) is defined
as:
m = (X1+X2+…+Xn)/n
where n is the number of reaction rates, and xi represents one experimental reaction rate. Once
you have the arithmetic mean, the variance can be calculated as the mean of the squares of the
deviations from the mean:
v= ((Xn-m)^2+(X2 – m^2) + …+(Xn-m)^2)/n
where n is the number of reaction rates, xi represents one experimental reaction rate, and m is the
arithmetic mean of the reaction rates. Once you have the variance, you can calculate the
standarddeviation as:
s = sqrt(v)
Assignment
You will develop a C program that reads data from an input text file containing chemical
reaction rates (in moles per second), and computes the minimum, maximum, arithmetic mean,
variance, and standard deviation for that set of data. Your instructor will provide input text files,
which will each contain a series of double values, each on a line of its own within the file. Your
program will read one of these input files into an array of doubles (i.e., it will populate the array
using the data values from the file). Your program will then calculate statistics using that array of
doubles, and will write the results out to a separate output text file.
The goals of this assignment are to provide you with experience reading and writing text data
files, provide you with experience passing an array into a function, and give you more
experience organizing your program into separate C functions.
When defining your C functions, you may either:
Define the functions before they are used by any other functions, OR
Place function prototypes near the top of your code (after all #include directives), and then define
the functions in any order.
Part 1 – Opening Files and Reading Data
Create a new Visual Studio Win32 Console project named reactionstats. Create a new C source
file named project4.c within that project. At the top of the source file, #define
_CRT_SECURE_NO_WARNINGS, and then include stdio.h, math.h, stdlib.h, stdbool.h, and
float.h.
Inside your main function, define the following:
A one-dimensional array of 600 doubles. They do not need to be initialized to anything at this
stage.
An integer variable to hold the number of elements in the array, initialized using the approach
demonstrated in class, using sizeof.
A FILE pointer variable, which will refer to the input data text file..
The program reads data from two files, itemsList-0x.txt and .docxoscars29
The program reads data from two files,
itemsList-0x.txt
and
inventoryList-0x.txt
. File extensions on Linux may be arbitrary–i.e., these files could have been named with
.dat
as the extensions.
The first file,
itemsList-0x.txt
, lists all possible items. Each line represents one item in the form
id name
.
Example 1: Sample itemsList-0x.txt
0 Air 1 HP Potion 2 MP Potion 5 Iron Ore 3 Bow Tie 4 Dirt 6 Diamond Ore 7 Iron Ingot 8 Diamond 9 Diamond Block
The second file,
inventoryList-0x.txt
, lists each individual inventory–or storage chest–followed by a list of items.
Example 2: Sample inventoryList-0x.txt
# 5
- 1 10 - 2 5 - 3 2 # 6
- 4 3 - 5 27 - 6 44 - 7 55 - 8 1 - 9 4 - 4 3 # 2
- 2 5 - 9 4 - 8 1 - 5 2 - 10 5
Each line preceded by
#
denotes the start of a new inventory. Each line preceded by
-
denotes an item. The program creates a new inventory each time a
#
is encountered.
When a
-
is encountered, a stack of items, ItemStack, is created. The
ItemStack
is placed in the
Inventory
based on the following rules:
If the Inventory is empty, store the ItemStack, and
return true
.
If the Inventory is not empty, examine the Inventory.
If a matching ItemStack is found, merge the two ItemStacks and
return true
.
If no matching ItemStack is found, store the new ItemStack and
return true
.
If the Inventory is full,
return false
.
Through the magic of abstraction, this is not one function, but four (4) functions in total. Yes, it does seem unnecessary at first. However, each function does one thing and only one thing. This is an exercise in understanding the thought process behind abstraction, interfaces, and the
S
/
O
in
S.O.L.I.D
(with some C++ code) in a multi-ADT program.
Most of your time will be spent on understanding the abstractions (and interfaces) as opposed to spamming cobblestone blocks… I mean C++ code.
3.2 Output
The output consists of three reports written to standard output, one after the other.
A report listing items that were stored or discarded.
A report listing all valid items.
Finally, a detailed report is printed. listing data for each inventory:
Maximum Capacity–i.e., total slots.
Utilized Capacity–i.e., occupied slots
Listing of all items.
If the program is run with the provided input files, the following output should be generated…
Example 3: Sample Output
Processing Log: Stored (10) HP Potion Stored ( 5) MP Potion Stored ( 2) Bow Tie Stored ( 3) Dirt Stored (27) Iron Ore Stored (44) Diamond Ore Stored (55) Iron Ingot Stored ( 1) Diamond Stored ( 4) Diamond Block Stored ( 3) Dirt Stored ( 5) MP Potion Stored ( 4) Diamond Block Discarded ( 1) Diamond Discarded ( 2) Iron Ore Item List: 0 Air 1 HP Potion 2 MP Potion 3 Bow Tie 4 Dirt 5 Iron Ore 6 Diamond Ore 7 Iron Ingot 8 Diamond 9 Diamond Block Storage Summary: -Used 3 of 5 slots (10) HP Potion ( 5) MP Potion ( 2) Bow Tie -Used 6 of 6 slots ( 6) Dirt.
CS 23001 Computer Science II Data Structures & AbstractionPro.docxfaithxdunce63732
CS 23001 Computer Science II: Data Structures & Abstraction
Project #4
Spring 2015
Objectives:
· Develop and use a Tree ADT (n-ary)
· Apply and use tree traversal algorithms
· Manipulate trees by inserting and deleting nodes
· Apply and use STL
Problem:
Build a program profiler. Construct a program to instrument C++ source code to support program profiling.
It is often important to determine how many times a function or statement is executed. This is useful not only for debugging but for determining what parts of a program may need to be optimized. This process is called profiling. That is, a execution profile presents how many times each part of a program is executed using a given set of input data (or for some run time scenario). To compute a profile, statements need to be added to the code that keep track of how many times a function or statement is executed. The process of adding these statements is called instrumenting the code.
To implement a profiler one must first parse the source code and generate an Abstract Syntax Tree (AST) of the code. Each node of the AST describes the syntactic category of the code stored within it (function, statement, while-statement, etc.). So at the top level is a syntactic category corresponding to a program, class, or function (such as in the case of a main). Under that are sub-trees that further detail the syntactic categories of each part of the code. Such things as declarations, parameter lists, while-statement, and expression statements will describe the various parts of the program.
After the AST is generated it can then be traversed and the appropriate syntactic structures can be found that need to be instrumented. Once a construct is found, say a function, new code can be inserted that keeps track of how many times that function is executed.
The most difficult part of constructing a profiler is correctly parsing the source code. Unfortunately, C++ is notoriously difficult to parse. So here we will use a parsing tool called src2srcml. This tool reads in C++ code and marks up the code with XML tags (e.g., block, if, while, condition, name, etc). That is, the output is an AST in XML. The XML representation is called srcML (source code markup language).
A number of srcML data files are provided for the project. However, you can use your own program as input. To run srcML on wasp or hornet you will first need to set a PATH variable so the command can be found. You need to execute the command:
export PATH=/local/opt/srcml/bin:$PATH
It is best if you insert this line into your .bash_profile file in your home directory on wasp/hornet.
Then to generate the srcML file for your own code use the following:
src2srcml main.cpp -o main.cpp.xml
Use the following for a list of all options:
src2srcml --help
More information about srcML can be found at www.srcML.org including a list of all the tag names (see Getting Started). You can also download srcML if you want it on your own machine.
Your .
Reaction StatisticsBackgroundWhen collecting experimental data f.pdffashionbigchennai
Reaction Statistics
Background
When collecting experimental data from chemical reactions, it’s often useful to generate
statistics based on the data. One experimental measure is the reaction rate in moles per second,
representing the amount of product formed per unit time. If we have a set of these reaction rates
collected in a data file, we can calculate summary statistical information, such as the minimum
and maximum values, the arithmetic mean, variance, and standard deviation.
Finding the minimum and maximum are straightforward: we scan through all the data, and keep
track of the smallest and largest values encountered. The arithmetic mean (or average) is defined
as:
m = (X1+X2+…+Xn)/n
where n is the number of reaction rates, and xi represents one experimental reaction rate. Once
you have the arithmetic mean, the variance can be calculated as the mean of the squares of the
deviations from the mean:
v= ((Xn-m)^2+(X2 – m^2) + …+(Xn-m)^2)/n
where n is the number of reaction rates, xi represents one experimental reaction rate, and m is the
arithmetic mean of the reaction rates. Once you have the variance, you can calculate the
standarddeviation as:
s = sqrt(v)
Assignment
You will develop a C program that reads data from an input text file containing chemical
reaction rates (in moles per second), and computes the minimum, maximum, arithmetic mean,
variance, and standard deviation for that set of data. Your instructor will provide input text files,
which will each contain a series of double values, each on a line of its own within the file. Your
program will read one of these input files into an array of doubles (i.e., it will populate the array
using the data values from the file). Your program will then calculate statistics using that array of
doubles, and will write the results out to a separate output text file.
The goals of this assignment are to provide you with experience reading and writing text data
files, provide you with experience passing an array into a function, and give you more
experience organizing your program into separate C functions.
When defining your C functions, you may either:
Define the functions before they are used by any other functions, OR
Place function prototypes near the top of your code (after all #include directives), and then define
the functions in any order.
Part 1 – Opening Files and Reading Data
Create a new Visual Studio Win32 Console project named reactionstats. Create a new C source
file named project4.c within that project. At the top of the source file, #define
_CRT_SECURE_NO_WARNINGS, and then include stdio.h, math.h, stdlib.h, stdbool.h, and
float.h.
Inside your main function, define the following:
A one-dimensional array of 600 doubles. They do not need to be initialized to anything at this
stage.
An integer variable to hold the number of elements in the array, initialized using the approach
demonstrated in class, using sizeof.
A FILE pointer variable, which will refer to the input data text file..
The program reads data from two files, itemsList-0x.txt and .docxoscars29
The program reads data from two files,
itemsList-0x.txt
and
inventoryList-0x.txt
. File extensions on Linux may be arbitrary–i.e., these files could have been named with
.dat
as the extensions.
The first file,
itemsList-0x.txt
, lists all possible items. Each line represents one item in the form
id name
.
Example 1: Sample itemsList-0x.txt
0 Air 1 HP Potion 2 MP Potion 5 Iron Ore 3 Bow Tie 4 Dirt 6 Diamond Ore 7 Iron Ingot 8 Diamond 9 Diamond Block
The second file,
inventoryList-0x.txt
, lists each individual inventory–or storage chest–followed by a list of items.
Example 2: Sample inventoryList-0x.txt
# 5
- 1 10 - 2 5 - 3 2 # 6
- 4 3 - 5 27 - 6 44 - 7 55 - 8 1 - 9 4 - 4 3 # 2
- 2 5 - 9 4 - 8 1 - 5 2 - 10 5
Each line preceded by
#
denotes the start of a new inventory. Each line preceded by
-
denotes an item. The program creates a new inventory each time a
#
is encountered.
When a
-
is encountered, a stack of items, ItemStack, is created. The
ItemStack
is placed in the
Inventory
based on the following rules:
If the Inventory is empty, store the ItemStack, and
return true
.
If the Inventory is not empty, examine the Inventory.
If a matching ItemStack is found, merge the two ItemStacks and
return true
.
If no matching ItemStack is found, store the new ItemStack and
return true
.
If the Inventory is full,
return false
.
Through the magic of abstraction, this is not one function, but four (4) functions in total. Yes, it does seem unnecessary at first. However, each function does one thing and only one thing. This is an exercise in understanding the thought process behind abstraction, interfaces, and the
S
/
O
in
S.O.L.I.D
(with some C++ code) in a multi-ADT program.
Most of your time will be spent on understanding the abstractions (and interfaces) as opposed to spamming cobblestone blocks… I mean C++ code.
3.2 Output
The output consists of three reports written to standard output, one after the other.
A report listing items that were stored or discarded.
A report listing all valid items.
Finally, a detailed report is printed. listing data for each inventory:
Maximum Capacity–i.e., total slots.
Utilized Capacity–i.e., occupied slots
Listing of all items.
If the program is run with the provided input files, the following output should be generated…
Example 3: Sample Output
Processing Log: Stored (10) HP Potion Stored ( 5) MP Potion Stored ( 2) Bow Tie Stored ( 3) Dirt Stored (27) Iron Ore Stored (44) Diamond Ore Stored (55) Iron Ingot Stored ( 1) Diamond Stored ( 4) Diamond Block Stored ( 3) Dirt Stored ( 5) MP Potion Stored ( 4) Diamond Block Discarded ( 1) Diamond Discarded ( 2) Iron Ore Item List: 0 Air 1 HP Potion 2 MP Potion 3 Bow Tie 4 Dirt 5 Iron Ore 6 Diamond Ore 7 Iron Ingot 8 Diamond 9 Diamond Block Storage Summary: -Used 3 of 5 slots (10) HP Potion ( 5) MP Potion ( 2) Bow Tie -Used 6 of 6 slots ( 6) Dirt.
Programming Fundamentals Functions in C and typesimtiazalijoono
Programming Fundamentals
Functions in C
Lecture Outline
• Functions
• Function declaration
• Function call
• Function definition
– Passing arguments to function
1) Passing constants
2) Passing variables
– Pass by value
– Returning values from functions
• Preprocessor directives
• Local and external variables
I am Bianca H. I am a C++ Homework Expert at cpphomeworkhelp.com. I hold a Masters in Programming from, the University of Nottingham, UK. I have been helping students with their homework for the past 7 years. I solve homework related to C++. Visit cpphomeworkhelp.com or email info@cpphomeworkhelp.com. You can also call on +1 678 648 4277 for any assistance with C++ Homework.
This calculator has been developed by me. It gives high precision results which
Normal calculator can not give. It is helpful in calculations for Space technology,
Supercomputers, Nano technology etc. I can give this calculator to interested people.
write Ocaml programe to add all numbers in a list the solution .pdfrajeshjangid1865
write Ocaml programe to add all numbers in a list ?
the solution :
let rec sum list =
match list with
[ ] -> 0
| x:: tail -> x + (sum tail);;
let a = [2;4;5;6;1;9;10 ];;
sum a;;
question is :-Write a Ocaml Program to multiply each element in a list by 2. a= [2;4;5;6;1;9;10 ]
Solution
let rec intmult : int list * int -> int list =
function ([],_) -> [0]
| ([x] ,al) -> [x * al]
| (x::xs,al) -> x * al :: intmult (xs, al);;
Also, you can use the map function as I mentioned below,
let intmult (l,m)= List.map (fun x -> x * m) l.
why is lifelong learning important for Engineers Give an example to.pdfrajeshjangid1865
why is lifelong learning important for Engineers? Give an example to support your argument.
please help me with this ..
Solution
A decade ago, a group of experts estimated the half-life of an engineer\'s technical skills--how
long it would take for half of everything an engineer knew about his or her field to become
obsolete. For mechanical engineers it was 7.5 years. For electrical engineers it was 5. And for
software engineers, it was a mere 2.5 years, less time than it takes to get an undergraduate
degree. Today, those numbers are surely even smaller.
Technology is rushing headlong into the future at a pace that takes one\'s breath away. Personal
computers, the Internet, genetic engineering, advanced materials, new forms of chemical
synthesis--all these things and more are changing our world swiftly, profoundly, and, in most
cases, for the better. But the excitement and the progress come at a cost. Rapid change is not
always comfortable, and no one knows this better than the people whose job it is to stoke the
technological juggernaut.
Think about it. In some specialties, engineers must update half of everything they know every
couple of years, all the while working full-time to design products according to the best
standards of the moment--which might change next month. In even the slower-paced fields,
engineers must reinvent themselves at least once a decade.
There\'s more. A generation ago, an engineer could expect to carve out a niche in one well-
defined area-- automotive steering systems, say, or chemical plant instrumentation--and remain
there for a lifetime. No longer. As technological change accelerates and product lines rise and
fall in ever-diminishing life cycles, engineers find themselves switching jobs more often, to the
point that those starting out today may hold half a dozen jobs over their careers, even if they
manage to remain with the same company throughout. So besides staying abreast of
developments in their own specialties, engineers must be prepared to switch nimbly to a new
field when the old one peters out.
And, to complicate things further, these professional demands come at a time of upheaval in the
employment landscape. Global competition has sparked a wave of downsizings in technology
firms, destroying much of the job security that engineers used to take for granted and pushing
companies to contract out more and more of their design work. Today, service firms such as
Andersen Consulting are the largest recruiters of engineering graduates on some college
campuses, eclipsing the big manufacturing companies in the number of hires.
The bottom line: A large and growing percentage of engineers now work as contract technical
experts, hiring out for a particular job at a particular company, then moving on when it is
finished. They may be independent consultants or they may work for consulting firms, but either
way they don\'t have the long-term stability that joining a traditional manufacturing firm used to
provide.
I.
More Related Content
Similar to Educational Objectives After successfully completing this assignmen.pdf
Programming Fundamentals Functions in C and typesimtiazalijoono
Programming Fundamentals
Functions in C
Lecture Outline
• Functions
• Function declaration
• Function call
• Function definition
– Passing arguments to function
1) Passing constants
2) Passing variables
– Pass by value
– Returning values from functions
• Preprocessor directives
• Local and external variables
I am Bianca H. I am a C++ Homework Expert at cpphomeworkhelp.com. I hold a Masters in Programming from, the University of Nottingham, UK. I have been helping students with their homework for the past 7 years. I solve homework related to C++. Visit cpphomeworkhelp.com or email info@cpphomeworkhelp.com. You can also call on +1 678 648 4277 for any assistance with C++ Homework.
This calculator has been developed by me. It gives high precision results which
Normal calculator can not give. It is helpful in calculations for Space technology,
Supercomputers, Nano technology etc. I can give this calculator to interested people.
write Ocaml programe to add all numbers in a list the solution .pdfrajeshjangid1865
write Ocaml programe to add all numbers in a list ?
the solution :
let rec sum list =
match list with
[ ] -> 0
| x:: tail -> x + (sum tail);;
let a = [2;4;5;6;1;9;10 ];;
sum a;;
question is :-Write a Ocaml Program to multiply each element in a list by 2. a= [2;4;5;6;1;9;10 ]
Solution
let rec intmult : int list * int -> int list =
function ([],_) -> [0]
| ([x] ,al) -> [x * al]
| (x::xs,al) -> x * al :: intmult (xs, al);;
Also, you can use the map function as I mentioned below,
let intmult (l,m)= List.map (fun x -> x * m) l.
why is lifelong learning important for Engineers Give an example to.pdfrajeshjangid1865
why is lifelong learning important for Engineers? Give an example to support your argument.
please help me with this ..
Solution
A decade ago, a group of experts estimated the half-life of an engineer\'s technical skills--how
long it would take for half of everything an engineer knew about his or her field to become
obsolete. For mechanical engineers it was 7.5 years. For electrical engineers it was 5. And for
software engineers, it was a mere 2.5 years, less time than it takes to get an undergraduate
degree. Today, those numbers are surely even smaller.
Technology is rushing headlong into the future at a pace that takes one\'s breath away. Personal
computers, the Internet, genetic engineering, advanced materials, new forms of chemical
synthesis--all these things and more are changing our world swiftly, profoundly, and, in most
cases, for the better. But the excitement and the progress come at a cost. Rapid change is not
always comfortable, and no one knows this better than the people whose job it is to stoke the
technological juggernaut.
Think about it. In some specialties, engineers must update half of everything they know every
couple of years, all the while working full-time to design products according to the best
standards of the moment--which might change next month. In even the slower-paced fields,
engineers must reinvent themselves at least once a decade.
There\'s more. A generation ago, an engineer could expect to carve out a niche in one well-
defined area-- automotive steering systems, say, or chemical plant instrumentation--and remain
there for a lifetime. No longer. As technological change accelerates and product lines rise and
fall in ever-diminishing life cycles, engineers find themselves switching jobs more often, to the
point that those starting out today may hold half a dozen jobs over their careers, even if they
manage to remain with the same company throughout. So besides staying abreast of
developments in their own specialties, engineers must be prepared to switch nimbly to a new
field when the old one peters out.
And, to complicate things further, these professional demands come at a time of upheaval in the
employment landscape. Global competition has sparked a wave of downsizings in technology
firms, destroying much of the job security that engineers used to take for granted and pushing
companies to contract out more and more of their design work. Today, service firms such as
Andersen Consulting are the largest recruiters of engineering graduates on some college
campuses, eclipsing the big manufacturing companies in the number of hires.
The bottom line: A large and growing percentage of engineers now work as contract technical
experts, hiring out for a particular job at a particular company, then moving on when it is
finished. They may be independent consultants or they may work for consulting firms, but either
way they don\'t have the long-term stability that joining a traditional manufacturing firm used to
provide.
I.
Which of the following is true of aldol reactions1.The thermodyna.pdfrajeshjangid1865
Which of the following is true of aldol reactions?
1.The thermodynamics and kinetics of aldol reactions can be controlled by base selection.
2.Aldol reactions can be completed by reacting an aldehyde and a ketone in the presence of a
base.
3.The yields of aldol reactions involving only one type of a hydrogen are generally higher than
the yields of those involving multiple types of a hydrogens.
4.Aldol reactions are used to create carbon–carbon bonds.
5.All of the above are true of aldol reactions.
Solution
Answer:
5.All of the above are true of aldol reactions.
Explanation:
Aldol reaction is the reaction between two cabonyl compounds with one carbonyl compound
contains one alpha -hydrogen in the presence of base to give beta hydroxy carbonyl compound.
So option 1 is correct.
The kinetic prodduct is the formation of C-C bond on the less substituted alpha carbon atom, can
be acheived by the bulky base LDA and thermodynamic product is the formation of C-C bond on
the more substituted alpha carbon to the carbonyl carbon can be achieved by the less bulky base
like NaOC2H5. so option 2 is correct.
If there are more kinds of active hydrogens gives mixed aldol product that gives less yield and
the compound with one kind of active hydrogen gives only one product with more yield. So
option 4 is correct.
In aldol reaction there is a formation of c-c bond. so option 4 is also correct..
Using at least two examples (whenever applicable), concisely discuss .pdfrajeshjangid1865
Using at least two examples (whenever applicable), concisely discuss the following terms. You
are strongly recommended to at least visit and study the posted article on websites listed in the
reference section. Programming paradigm Procedural programming OOP or Object-Oriented
Programming Abstract Data Type or ADT Four basic principles of object orientation
Abstraction Encapsulation/Information hiding Inheritance Polymorphism Benefits of OOP
Object-Oriented Design & Analysis or OODA or OODA UML for OOD Attributes and
behaviors of an object C++ classes and objects Instance and instantiation of an object State of
an object
Solution
1) Programming paradigm is a way or style of writing programming languages.
For example in python, blocks are represented using blocks. In python intendation is important.
IN java, flower/open braces are used.
2)
Procedural programming
This is style of routines and subroutines.
Declaring the subroutine, top of program declaring prototype declaring and bottom of program
writing the implementation of methods.
Also subroutine is accssible is depends on public accessifiers.
3)
OOPS programming language where all variables and methods are accessed via object.
Object is real entity which stores the data.
Java, python,c++ are examples of OOPS programming languages.
4)
Abstract data type is representing the hidden object. It hides the implementation.
Example: We can see the car physically but cannot see the internal strucure.
Seeing the machine physically but doesn\'t bother about internal strucure..
Transforming Cultures from Consumerism to Sustainability - Essay.pdfrajeshjangid1865
Transforming Cultures from Consumerism to Sustainability - Essay
Solution
Some 60 percent of ecosystem services are being despoiled or used unsustainably. The damage is
the consequence of cultural systems which give confidence to people to describe their happiness
in addition to success in terms of how much they consume. This propensity, together with
unsustainable population growth rates, is overpowering our finite planet, intimidating to cause
noteworthy disruptions to Earth\'s climate and ecosystems, and consequently to human
civilization. Consumerism has engulfed human cultures and Earth’s ecosystems and if left
unaddressed, we threat global disaster. However if we direct this wave, deliberately changing our
cultures to center on sustainability, we will not only put off disaster, however may steer in an era
of sustainability—one which allows all people to prosper whilst protecting, even restoring, Earth.
World watch Institute\'s Transforming Cultures plan turns a critical eye to how we can transfer
today\'s consumer cultures in the direction of cultures of sustainability. The solution to this
revolution will lie in harnessing institutions which play a vital role in shaping society— like
media, educational services, business, governments, traditions, as well as social movements—to
inspire this new cultural course.
The plan also seeks to bring women into educational, economic, political as well as health parity
with men. This will necessitate the wearing away of cultural norms which endorse early and
frequent childbearing while intensifying women\'s capability to decide when to bear children.
Studies explain that such advances slow and ultimately end population growth, allowing for
more sustainable growth all-inclusive..
Trane has 145 marbles. He gives 20 to Katie, 52 to Gwen, and 31 to Yu.pdfrajeshjangid1865
Trane has 145 marbles. He gives 20 to Katie, 52 to Gwen, and 31 to Yusef. He keeps the rest.
Who has the most marbles? Trane Katie Gwen Yusef
Solution
Trane has 145 marbles , he gave 20 to Katie and 52 to Gwen , and 31 to Yusef.
It means now
Katie has = 20 ,
Gwen has = 52
Yusef has = 31
and Trane has =145 -20 -52 -31 = 42
It means Gwen has the most marbles , that is 52.
This project should be done in C# using Visual Studio - Windows Form.pdfrajeshjangid1865
This project should be done in C# using Visual Studio - Windows Forms.
This is a puzzle game of Wheel of Fortune. I need the puzzle to be \"Back to the Future\", and it
should not matter if the player guesses a upper or lowercase letter. If possible I could use step by
step instructions for creating the windows form and then entering the code to make the program
run. All the requirements for the game will be in pictures below.
The example uses the puzzle \"pulp fiction\", but again I need my puzzle to be \"Back to the
Future\". Thanks! You are to create the classic game of Wheel of Fortune. Your application
should consist of 3 players, underlines to represent letters in the puzzle, and the available letters.
The initial screen should look something like:
Solution
form1 designer:
namespace Wheel_Of_Fortune
{
partial class Form1
{
///
/// Required designer variable.
///
private System.ComponentModel.IContainer components = null;
///
/// Clean up any resources being used.
///
/// true if managed resources should be disposed; otherwise, false.
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///
private void InitializeComponent()
{
this.label1 = new System.Windows.Forms.Label();
this.labelLetters = new System.Windows.Forms.Label();
this.panel1 = new System.Windows.Forms.Panel();
this.label2 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.textBox2 = new System.Windows.Forms.TextBox();
this.textBox3 = new System.Windows.Forms.TextBox();
this.textBox4 = new System.Windows.Forms.TextBox();
this.textBox5 = new System.Windows.Forms.TextBox();
this.textBox6 = new System.Windows.Forms.TextBox();
this.textBox7 = new System.Windows.Forms.TextBox();
this.textBox8 = new System.Windows.Forms.TextBox();
this.textBox9 = new System.Windows.Forms.TextBox();
this.textBox10 = new System.Windows.Forms.TextBox();
this.textBox11 = new System.Windows.Forms.TextBox();
this.textBox12 = new System.Windows.Forms.TextBox();
this.textBox13 = new System.Windows.Forms.TextBox();
this.textBox14 = new System.Windows.Forms.TextBox();
this.textBox15 = new System.Windows.Forms.TextBox();
this.buttonSpin = new System.Windows.Forms.Button();
this.buttonSolve = new System.Windows.Forms.Button();
this.label3 = new System.Windows.Forms.Label();
this.label4 = new System.Windows.Forms.Label();
this.label5 = new System.Windows.Forms.Label();
this.textBoxP1 = new System.Windows.Forms.TextBox();
this.textBoxP2 = new System.Windows.Forms.TextBox();
this.textBoxP3 = new System.Windows.Forms.TextBox();
this.labelPrompt = new System.Windows.Forms.Label();
this.panel1.SuspendLayout();
this.SuspendLayout();
//
// label1
//
this.label1.AutoSize = true;
this.label1.Location = new System.Drawing.Point(68, 13.
The table below gives the probabilities of combinations of religion a.pdfrajeshjangid1865
The table below gives the probabilities of combinations of religion and political parties in a
major U.S. city. Reli Political parties Protestant (A) Catholic (B) Democrat (3 Republican (
Independent- 0.35 0.27 0.05 0.10 0.09 0.03 What is the probability that a randomly selected
person would be a Democrat who was not Jewish? 0 a. 0.07 O b.0.47 O c. 0.93 O d. 0.50 O e.
None of these Check My Work 0- Icon Key xit Submit Assignment for Grading Question 47 o
Solution
Probability that the person is democrat but not jewish. It also means that the person is democrat
and he can be Protestant, Catholic or other.
Therefore probability of a democrat not being jewish= 0.10+0.35+0.02= 0.47
b. 0.47 is correct.
The effects Poverty in SocietySolution Poor children are at gre.pdfrajeshjangid1865
The effects Poverty in Society
Solution
Poor children are at greater risk and Anti social behavior. Poverty result in un hygienic
practices such as poor sanitation,improper dumping of waste etc. Which results in growth and
spread of diseases. Poverty greatly influences Unemployment and criminal behavior. Poverty
affects Economic prosperity of a community which causes decrease Economic out put. Issues
like hunger,thirst etc.are major affects of poverty. Poverty greatly impacts on the development of
child due to malnutrition features of poverty such as poor health,lack of water ,or housing,child
abuse greatly influences the life of people. Poverty encourages child trafficking. Due to poverty,
children, elderly Individual, pregnant women face the problem of malnutrition which indirectly
increases the death rate and decreases birth rates. Improper disposal of waste, improper sewage
system,a an over crowding in the slum regions causes.Environmental pollution which adversely
affect the healthy life of Individuals..
Suppose 1.01g of FeCl3 is placed in a 10.0ml volumetric glass, water.pdfrajeshjangid1865
Suppose 1.01g of FeCl3 is placed in a 10.0ml volumetric glass, water is added, the mixture is
shaken to disolve the solid and then water is added to the calibration mark of the flask. Calculate
the molarity of of each ion present in the solution.
Please walk me through the steps I\'m trying to help my daughter with her chem. homework and
I don\'t know any chem.
Solution
molarity = mass of the compound FeCl3/ molar mass of FeCl3 *volume of the solution (L)
here mass of the compound = 1.01 gms
molar mass of FeCl3 = 162.2 gms/mol
volume of the solution = 10ml = 0.01L
molar mass of FECl3 Â Â = 162.2 gm/mol
molarity = 1.01/162.2*0.01 =0.622M.
Specialized regions on the cell surface through which cells are joine.pdfrajeshjangid1865
Specialized regions on the cell surface through which cells are joined to each other or to the
extracellular matrix. (two words)
Solution
Answer is cell junction.
Cell junctions are especially important in enabling communication between neighbouring cells
via specialised proteins called communicating protein..
Section 404 of the Sarbanes Oxley Act requires auditors of a public .pdfrajeshjangid1865
Section 404 of the Sarbanes Oxley Act requires auditors of a public company to analyze and
report on the effectiveness of the client\'s internal controls over financial reporting. Describe the
responsibilities that auditors of public companies have to discover and report (a) significant
deficiencies in internal controls and (b) material weaknesses in internal controls. Include a
definition of each item in your answer. Under what condition or conditions can auditors issue an
unqualified or clean opinion on the effectiveness of a client\'s internal controls over financial
reporting?
Solution
Note: Please note, that there is no specific definition of \"Internal Control Deficiency\" and
\"Significant Control deficiency\" in the audit subject. Definition of Material Weakness has been
added. In case of any further clarification please let me know.
Definiton of Internal Control: \"Internal Control\" means the planning of an organisation and all
the policies and procedures adopted by an organisation\'s management to ensure orderly and
efficient conduct of business.
Defintion of Material Weakness: \"Material Weakness\" is a weakness or deficiency in internal
control due to which there is a possibility that the material misstatement in financial statement
will not be prevented or detected on a timely basis.
It is not the responsibility of the auditorto identify each and every deficieny in Internal Control
and express an opinion on it. His responsibility is \"To communicate any significant deficiency
in internal control identified during audit to management/Those Charged With
Governance(TCWG)/Audit Committee.
Auditor can issue an unqualified or clean opinion on the effectiveness of a client\'s internal
controls if their internal controls are seems effective to the auditor, if significant related party
transactions are scrutinized by the management/TCWG, if Management fraud prevented by
Internal Control, if non compliance of Laws & Regulations are prevented and properly followed
by management, if Internal Control designed and implemented in a way so that it can prevent or
detect and correct misstatements in Financial Statement on timely basis..
Reiji and Tuneko Okazaki conducted a now classic experiment in 1968 .pdfrajeshjangid1865
Reiji and Tuneko Okazaki conducted a now classic experiment in 1968 in which they discovered
a population of short fragments synthesized during DNA replication. They introduced a short
pulse of 3H -thymidine into a culture of E. coli and extracted DNA from the cells at various
intervals. In analyzing the DNA after centrifugation in denaturing gradients, they noticed that as
the interval between the time of 3H -thymidine introduction and the time of centrifugation
increased, the proportion of short strands decreased and more labeled DNA was found in larger
strands. What would account for this observation?
a. the ligation of Okazaki fragments by DNA ligase
b. the degradation of Okazaki fragments by DNA polymerase I
c. the accumulation of Okazaki fragments produced on the lagging strand
d. the mutation affecting the activity of DNA ligase
Solution
Answer C: The accumulation of Okazaki fragments produced on the lagging strand
Replication of DNA on lagging strand is discontinuous and replications occur in small sections.
These new stretches of DNA are called Okazaki fragments and each one requires its own RNA
primer. During DNA replication, each Okazaki fragment is separated by their own RNA primers
and are unligated until RNA primers are removed, followed by enzyme ligase connecting
(ligating) an Okazaki fragment onto the (now continuous) newly synthesized complementary
strand. After the introduction of 3H -thymidine (radioactive thymidine) into a culture of E. coli,
3H –thymidine gradually incorporated into both complimentary strands of leading and lagging
strands of DNA during replication. With time, each Okazaki fragment ligated with adjacent
fragment with the help of DNA ligase result in the increase of the length of the complementary
strand. Due to accumulation and ligation of Okazaki fragments produced on the lagging strand,
the proportion of short strands decreased and more labeled DNA was found in larger strands..
Problem 2-1A Suppose the following items are taken from the 2017 bala.pdfrajeshjangid1865
Problem 2-1A Suppose the following items are taken from the 2017 balance sheet of Windsor,
Inc. (All dollars are in millions.) Goodwill Common stock Equipment Accounts payable Patents
Stock investments (long-term) Accounts receivable Prepaid rent Debt investments (short-term)
Retained earnings Cash Notes payable (long-term) Unearned sales revenue Accumulated
depreciation-equipment $4,060 6,060 1,560 150 210 3,230 1,200 230 1,300 6,580 2,330 720 410
200 Prepare a classified balance sheet for Windsor, Inc. as of December 31, 2017. (List current
assets in order of liquidity.)
Solution
Balance sheet :AssetsCurrent assetsCash2330Account receivable1200Prepaid rent230Debt
investment (short term)1300Total current assets5060Long term investmentStock investment
(long term)3230Property,plant and equipmentEquipment1560Less: Accumlated depreciation-
2001360Other assetsGoodwill4060Patents2104270Total Assets13920Liabilities &
Stockholder\'s equityCurrent liabilitiesAccount payable150Unearned sales revenue410Total
current liabilities560Long term liabilitiesNotes payable720Total liabilities1280Stockholder\'s
equityCommon Stock6060Retained earnings6580Total Stockholder\'s equity12640Total
liabilities & Stockholder\'s equity13920.
Prepare a 2017 income statement for Shanta Corporation based on the f.pdfrajeshjangid1865
Prepare a 2017 income statement for Shanta Corporation based on the following information:
Cost of goods sold Operating expenses Other expenses and losses $490,000 100,000 30,000
700,000 30% Sales revenue Tax rate SHANTA CORPORATION Income Statement For the
Year Ended December 31, 2017
Solution
Sales revenue 700000 Cost of goods sold 490000 Gorss profit 210000 Operating
expenses 100000 Operating income 110000 Other expenses and losses 30000 Income
before income taxes 80000 Income taxes 24000 Net income 56000.
Organizations need to have a pool of managerial talent to take on jo.pdfrajeshjangid1865
Organizations need to have a pool of managerial talent to take on jobs from senior managers and
new management jobs that may be created. One way is to hire from outside, another way is to
\"grow your own manager talent pool\" from within.
Create a 700 to 1050 word recommendation that describes how you will grow the manager talent
pool at your organization.
How will you select candidates for your manager development program? For example: select
from existing staff or hire them in? How would you assess their potential so you know who to
pick? For example: interviews, tests. What might you need to do so that you consider all
potential candidates and do not unfairly discrimminate?
How would you develop these candidates and over what time period? What different
jobs/experiences should they have so that at the end of say 2-3 years they are ready for a
management slot? What formal training might they need?
So after all the training and job experience, how will you assess who is ready to move up to the
position of manager? Again, consider how you would make sure you individuals are chosen
fairly and objectively.
What support should be provided to new managers to ensure their success?
Solution
It is clear that there is need for consideration of the managerial talent which is an entire role and
responsibility of the HR management in the context of ensuring an organization retains its
employees and ensuring effectiveness through competition which is an organization strategy to
effectively compete in the market.
.
Selecting candidates for a managerial development program
The main consideration that in selecting various candidates existing in the organization for the
managerial development programs includes;
The process will involve internal selection in the context that the process is less costly as
compared with external hiring where the process is costly due to lack of experience based on our
organizational operations which will require more resources to integrate employees with our
organizational operations. In this regards, to this angle the main assessment considerations will
be based on;
Past performance of potential candidate for the managerial development program in the context
that the candidate should be among the top performers in the organization operations. This is in
regards that if the current performance of an employee is poor this has great prediction for the
future managerial position.
The potential of the candidate which will be based on considerations such as current performance
by the employee, lateral potential in that an employee is able to move into other positions at the
same level, potential of an employee to supervise and relate with other employees and high
potential based on that the employee can be promoted to the managerial position within 1 year or
making multiple move upwards in the next couple of years.
There will also be consideration of the requisite knowledge and ability through clearly outlining
the knowledge and ski.
Objective Manipulate the Linked List Pointer.Make acopy of LList..pdfrajeshjangid1865
Objective: Manipulate the Linked List Pointer.
Make acopy of LList.java and rename it to LListr.java. Add a reverse function in LListr.java to
reverse the order of the linked list.
You can either use the gamescore.txt to test the reverse function.
Llist.Java File:
/** Source code example for \"A Practical Introduction to Data
Structures and Algorithm Analysis, 3rd Edition (Java)\"
by Clifford A. Shaffer
Copyright 2008-2011 by Clifford A. Shaffer
*/
// Doubly linked list implementation
class LList implements List {
private DLink head; // Pointer to list header
private DLink tail; // Pointer to last element in list
protected DLink curr; // Pointer ahead of current element
int cnt; // Size of list
//Constructors
LList(int size) { this(); } // Ignore size
LList() {
curr = head = new DLink(null, null); // Create header node
tail = new DLink(head, null);
head.setNext(tail);
cnt = 0;
}
public void clear() { // Remove all elements from list
head.setNext(null); // Drop access to rest of links
curr = head = new DLink(null, null); // Create header node
tail = new DLink(head, null);
head.setNext(tail);
cnt = 0;
}
public void moveToStart() // Set curr at list start
{ curr = head; }
public void moveToEnd() // Set curr at list end
{ curr = tail.prev(); }
/** Insert \"it\" at current position */
public void insert(E it) {
curr.setNext(new DLink(it, curr, curr.next()));
curr.next().next().setPrev(curr.next());
cnt++;
}
/** Append \"it\" to list */
public void append(E it) {
tail.setPrev(new DLink(it, tail.prev(), tail));
tail.prev().prev().setNext(tail.prev());
cnt++;
}
/** Remove and return current element */
public E remove() {
if (curr.next() == tail) return null; // Nothing to remove
E it = curr.next().element(); // Remember value
curr.next().next().setPrev(curr);
curr.setNext(curr.next().next()); // Remove from list
cnt--; // Decrement the count
return it; // Return value removed
}
/** Move curr one step left; no change if at front */
public void prev() {
if (curr != head) // Can\'t back up from list head
curr = curr.prev();
}
// Move curr one step right; no change if at end
public void next()
{ if (curr != tail.prev()) curr = curr.next(); }
public int length() { return cnt; }
// Return the position of the current element
public int currPos() {
DLink temp = head;
int i;
for (i=0; curr != temp; i++)
temp = temp.next();
return i;
}
// Move down list to \"pos\" position
public void moveToPos(int pos) {
assert (pos>=0) && (pos<=cnt) : \"Position out of range\";
curr = head;
for(int i=0; i. The vertical
* bar represents the current location of the fence. This method
* uses toString() on the individual elements.
* @return The string representation of this list
*/
public String toString()
{
// Save the current position of the list
int oldPos = currPos();
int length = length();
StringBuffer out = new StringBuffer((length() + 1) * 4);
moveToStart();
out.append(\"< \");
for (int i = 0; i < oldPos; i++) {
if (getValue()!=null)
{
out.append(getValue());
out.append(\.
Militarism Alliances Imperialism Nationalism Class, the powder keg.pdfrajeshjangid1865
Militarism Alliances Imperialism Nationalism
Class, the powder keg that ignited Europe was the assassination of the Archduke Franz
Ferdinand. Nationalist Serbs- the Black Hand assassinated him. They believed in Pan Slavism.
What is Pan Slavism? Why did Russia enter WWI? Who fought on which sides during WWI?
Solution
Pan-Slavism, a development which solidified in the mid-nineteenth century, is the political
philosophy worried about the headway of respectability and solidarity for the Slavic-talking
people groups. Its fundamental effect happened in the Balkans, where non-Slavic domains had
ruled the South Slavs for a considerable length of time. These were chiefly the Byzantine
Empire, Austria-Hungary (both as discrete entities for the vast majority of the period), the
Ottoman Empire, and Venice.
The Pan-Slavism development soon went up against political hints, and in June 1848, while the
Austrian Empire was debilitated by transformation, the Czech history specialist František
Palacký assembled a Slav congress in Prague. Comprising of agents of every Slav nationality
controlled by the Austrians, the congress was proposed to compose agreeable endeavors among
them to compel the Emperor to change his government into an alliance of equivalent people
groups under a vote based Habsburg run the show.
In spite of the fact that the congress had minimal commonsense impact, the development stayed
dynamic, and by the 1860s it turned out to be especially mainstream in Russia, to which
numerous Pan-Slavs searched for authority and also for insurance from Austro-Hungarian and
Turkish run the show. Russian Pan-Slavists, be that as it may, changed the hypothetical bases of
the development. Embracing the Slavophile thought that western Europe was profoundly and
socially bankrupt and that it was Russia\'s noteworthy mission to revive Europe by increasing
political strength over it, the Pan-Slavists included the idea that Russia\'s central goal couldn\'t be
satisfied without the help of other Slav people groups, who must be freed from their Austrian and
Turkish experts and joined into a Russian-ruled Slav confederation.In spite of the fact that the
Russian government did not authoritatively bolster this view, some essential individuals from its
remote division, including its agents at Constantinople and Belgrade, were fervent Pan-Slavists
and prevailing with regards to drawing both Serbia and Russia into wars against the Ottoman
Empire in 1876– 77. At the point when endeavors were made in the mid twentieth century to call
new Pan-Slav congresses and resuscitate the development, the nationalistic contentions among
the different Slav people groups kept their successful cooperation.
Russia entered WW1 due to following reasons:
Russia was drawn into WW1 by similar stumbles and habits that tormented her neighboring
European nations, radical rivalry, harmful patriotism, military haughtiness, and insufficient trust
in tact and dependence on collusions. While Russia enter.
In the subject of cryptography, what policy or organizational challe.pdfrajeshjangid1865
In the subject of cryptography, what policy or organizational challenges might impede or prevent
the deployment of a worldwide universal Public-Key Infrastructure?
Solution
Below challenges may present the deployment of Universal PKI :
1. Token Logistics:
There are many advantages of implementing PKI on a hardware token, such as a
smart card. These include security, portability and ease of use to add
other user specific applications and visual information.
However, the logistics of managing security tokens requires a considerable effort and cost
to a Public-Key Infrastructure implementation.
2. Network Issues:
The implementation of PKI will surely add to the network load. The potential additional traffic
that should be
considered are:
i. Certificate issuance
ii. Email Usage
iii. Directory Replication.
3. Network Issues - Encryption:
Usually the organisations implement anti-virus software and on regular basis perform inspection
on servers at
the perimeter of their networks. Some organizations has security policies that rejects or
quarantines
encrypted traffic.
To provide user-to-user confidentiality, the messages will traverse networks with their payload
hidden from inspection by virus and content checking.
Possible solutions include:
· Performing virus & content checking at the client machine.
· Storing user confidentiality private keys on a secure key server.
· Co-encrypting messages to a Gateway which then decrypts and checks the message before it is
delivered.
4. Email Address in Certificate:
Usually employees change their email addresses more frequently than the certificate. Until
unless a solution is built which allows the employees to keep the same email
address for a long period, certificates would have to be re-issued every time an employee
changes their email address.
5. Availability and storage of reliable user information
6. Certificate Validity Checking
7. PIN management:
smart Card PIN management may cause some problem to the employees..
is Google making us stupid Nicholas Carr Summarize Article. https.pdfrajeshjangid1865
is Google making us stupid Nicholas Carr Summarize Article.
https://www.theatlantic.com/magazine/archive/2008/07/is-google-making-us-stupid/306868/
Solution
The articles talks about the modernisation of the technology and internet , putting traditional
methods of reading and interpretation in contrast. It refers to loosing out essence of
understanding and using the knowledge , using online and convinient form. The type of lifestyle
ie the the type of ease we have now baecause of google and its tool is seperating our roots from
orginality and real wisdom. The simplicity we seek in internet now a days , curbs our way of
going deeper into text and interpretation..
2024.06.01 Introducing a competency framework for languag learning materials ...Sandy Millin
http://sandymillin.wordpress.com/iateflwebinar2024
Published classroom materials form the basis of syllabuses, drive teacher professional development, and have a potentially huge influence on learners, teachers and education systems. All teachers also create their own materials, whether a few sentences on a blackboard, a highly-structured fully-realised online course, or anything in between. Despite this, the knowledge and skills needed to create effective language learning materials are rarely part of teacher training, and are mostly learnt by trial and error.
Knowledge and skills frameworks, generally called competency frameworks, for ELT teachers, trainers and managers have existed for a few years now. However, until I created one for my MA dissertation, there wasn’t one drawing together what we need to know and do to be able to effectively produce language learning materials.
This webinar will introduce you to my framework, highlighting the key competencies I identified from my research. It will also show how anybody involved in language teaching (any language, not just English!), teacher training, managing schools or developing language learning materials can benefit from using the framework.
Model Attribute Check Company Auto PropertyCeline George
In Odoo, the multi-company feature allows you to manage multiple companies within a single Odoo database instance. Each company can have its own configurations while still sharing common resources such as products, customers, and suppliers.
This is a presentation by Dada Robert in a Your Skill Boost masterclass organised by the Excellence Foundation for South Sudan (EFSS) on Saturday, the 25th and Sunday, the 26th of May 2024.
He discussed the concept of quality improvement, emphasizing its applicability to various aspects of life, including personal, project, and program improvements. He defined quality as doing the right thing at the right time in the right way to achieve the best possible results and discussed the concept of the "gap" between what we know and what we do, and how this gap represents the areas we need to improve. He explained the scientific approach to quality improvement, which involves systematic performance analysis, testing and learning, and implementing change ideas. He also highlighted the importance of client focus and a team approach to quality improvement.
How to Split Bills in the Odoo 17 POS ModuleCeline George
Bills have a main role in point of sale procedure. It will help to track sales, handling payments and giving receipts to customers. Bill splitting also has an important role in POS. For example, If some friends come together for dinner and if they want to divide the bill then it is possible by POS bill splitting. This slide will show how to split bills in odoo 17 POS.
Instructions for Submissions thorugh G- Classroom.pptxJheel Barad
This presentation provides a briefing on how to upload submissions and documents in Google Classroom. It was prepared as part of an orientation for new Sainik School in-service teacher trainees. As a training officer, my goal is to ensure that you are comfortable and proficient with this essential tool for managing assignments and fostering student engagement.
Students, digital devices and success - Andreas Schleicher - 27 May 2024..pptxEduSkills OECD
Andreas Schleicher presents at the OECD webinar ‘Digital devices in schools: detrimental distraction or secret to success?’ on 27 May 2024. The presentation was based on findings from PISA 2022 results and the webinar helped launch the PISA in Focus ‘Managing screen time: How to protect and equip students against distraction’ https://www.oecd-ilibrary.org/education/managing-screen-time_7c225af4-en and the OECD Education Policy Perspective ‘Students, digital devices and success’ can be found here - https://oe.cd/il/5yV
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.
We all have good and bad thoughts from time to time and situation to situation. We are bombarded daily with spiraling thoughts(both negative and positive) creating all-consuming feel , making us difficult to manage with associated suffering. Good thoughts are like our Mob Signal (Positive thought) amidst noise(negative thought) in the atmosphere. Negative thoughts like noise outweigh positive thoughts. These thoughts often create unwanted confusion, trouble, stress and frustration in our mind as well as chaos in our physical world. Negative thoughts are also known as “distorted thinking”.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Educational Objectives After successfully completing this assignmen.pdf
1. Educational Objectives: After successfully completing this assignment, the student should be
able to accomplish the following:
Use a loop structure to read user input of unknown size through std::cin and store it in an array.
Use conditional branching to selectively perform computational tasks.
Declare (prototype) and define (implement) functions.
Declare and define functions with arguments of various types, including pointers, references,
const pointers, and const references.
Call functions, making appropriate use of the function arguments and their types.
Make decisions as to appropriate function call parameter type, from among: value, reference,
const reference, pointer, and const pointer.
Create, edit, build and run multi-file projects using the Linux/Emacs/Make environment
announced in the course organizer.
Operational Objectives: Create a project that computes the mean and median of a sequence of
integers received via standard input.
Deliverables: Files: stats.h, stats.cpp, main.cpp, makefile, log.txt. Note that these files constitute
a self-contained project.
Assessment Rubric: The following will be used as a guide when assessing the assignment:
Please self-evaluate your work as part of the development process.
Background
Given a finite collection of n numbers:
The mean is the sum of the numbers divided by n, and
The median is the middle value (in case n is odd) or the average of the two middle values (in
case n is even).
Note that to find the median of a collection of data, it is convenient to first sort the data, that is,
put the data in increasing (or non-decreasing) order. Then the median is just the middle datum in
the sorted sequence (or the average of the two middle data, if there are an even number).
One of the more intuitive sort algorithms is called Insertion Sort, which operates on an array
a[0..n-1] of elements. The idea is to "insert" the value of a[i] into the sub-array a[0..i-1] at the
largest possible index that results in the expanded sub-array a[0..i] sorted. We insert at the
highest possible index in order not to place the value ahead of any previously inserted elements
with the same value. The subarray a[0..i-1] is assumed to be sorted at the beginning of each
insertion step. The base case consists of a one-element array a[0..0], which is always sorted.
Here is a "pseudocode" description of the algorithm:
The inner loop copies all elements in a[0..i-1] up one index until the correct place for t is found.
Then put t in that place.
2. Procedural Requirements:
Begin a log file named log.txt. This should be an ascii text file in cop3330/proj1 with the
following header:
This file should document all work done by date and time, including all testing and test results.
Create and work within a separate subdirectory cop3330/proj1. Review the COP 3330 rules
found in Introduction/Work Rules.
Copy all of the files from LIB/proj1. These should include:
In addition you should have the script submit.sh in either your .bin or your proj1 as an executable
command.
Create three more files
complying with the Technical Requirements and Specifications stated below.
Turn in four files stats.h, stats.cpp, main.cpp, and makefile using the submit script.
Warning: Submit scripts do not work on the program and linprog servers. Use shell.cs.fsu.edu to
submit projects. If you do not receive the second confirmation with the contents of your project,
there has been a malfunction.
After submission, take Quiz 1 in Blackboard. This quiz covers these areas:
Casting; integer and floating point arithmetic.
Function calls
Loops
This assignment
Course Syllabus
Note that the quiz may be taken several times. The highest of the grades will be recorded and
count as 20 points (40 percent of the assignment).
Technical Requirements and Specifications
The project should compile error- and warning-free on linprog with the command make stats.x.
The number of integers input by the user is not known in advance, except that it will not exceed
100. Numbers are input through standard input, either from keyboard or file re-direct. The
program should read numbers until a non-digit or end-of-file is encountered or 100 numbers have
been read.
Once the input numbers have been read, the program should calculate the mean and median and
then report these values to standard output.
The source code should be structured as follows:
Implement separate functions with the following prototypes:
I/O is handled by function main(); no other functions should do any I/O
Function main() calls Mean() and Median()
Function Median() calls Sort()
3. The source code should be organized as follows:
Prototypes for Mean, Median, and Sort should be in file stats.h
Implementations for Mean, Median, and Sort should be in file stats.cpp
Function main should be in file main.cpp
The Sort() function should implement the Insertion Sort algorithm.
When in doubt, your program should behave like the distributed executable example stats_i.x in
area51. Identical behavior is not required, but the general I/O behavior should be the same. In
particular, the data input loop should not be interupted by prompts for a next datum - this will
make file redirect cumbersome. Just ask for the data one time, then read until a non-digit or end
of file is encountered.
Hints
An example executables is distributed as [LIB]/area51/stats_i.x. The suffix indicates it is
compiled to run on the Intel/Linux architecture (linprog machines).
To run a sample executable, follow these steps: (1) Copy the appropriate executable into your
space where you want to run it: log in to linprog and enter the command "cp
[LIB]/area51/stats_i.x .". (2) Change permissions to executable: "chmod 700 stats_i.x". (3)
Execute by entering the name of the executable. If you want to run it on a data file "data1", use
input redirect as in: "stats_i.x < data1". If you want the output to go to another file, use output
redirect: "stats_i.x < data1 > data1.out".
A working makefile is distributed and may be used in the submission - provided that you have
read and understood the makefile, so that when a makefile is required in the future you will know
how to create one.
Test files can be created using the program ranint.cpp, which is distributed as part of the
assignment and is compiled by the supplied makefile. To create random data files for testing,
first build ranint.x with the command
and then execute. Note that the program expects 3 command line arguments - (1) file name, (2)
upper bound on size of integers, and (3) number of elements to generate. It will remind you if
you forget. Here are examples:
(Forgot to give arguments.)
The less-than character in the command:
stats.x < data1
is a Unix/Linux operation that redirects the contents of data1 into standard input for stats.x.
Using > redirects program output. For example, the command:
stats.x < data1 > data1.out
sends the contents of data1 to standard input and then sends the program output into the file
data1.out. These are very handy operations for testing programs.
4. It is sometimes simpler to develop the code in a single file (such as project.cpp) that can be
edited in one window and test-compiled with a single command (such as g++ -Wall -Wextra -
ostats.x project.cpp) and split the file up into the deliverables after the initial round of testing and
debugging.
Note that the array in which input is stored is passed to the functions as a pointer. In the case of
Mean(), this pointer is const, indicating that the elements of the array may not be changed by the
call. However in the case of Median(), the array element values are allowed to change. These
values are in fact changed by the call toSort().
The function Sort() operates on the array input as a pointer. When the function returns, the values
of the array should be in increasing order.
The insertion sort algorithm requires a nested pair of loops (one inside the other).
Sorting the data is essential to calculate the median: when in an array that is sorted, the middle
(two) values are those contained in the middle (two) indices of the array.
The middle index of an array of n elements, when n is odd, is [(n-1)/2]. The middle two indices,
when n is even, are [n/2 - 1] and [n/2].
Be careful when subtracting 1 from an unsigned integer type such as size_t.
Solution
Homework 2: StatsHomework 2: StatsFinding the mean and median of numerical data
Educational Objectives: After successfully completing this assignment, the student should be
able to accomplish the following: Use a loop structure to read user input of unknown size
through std::cin and store it in an array.Use conditional branching to selectively perform
computational tasks.Declare (prototype) and define (implement) functions.Declare and define
functions with arguments of various types, including pointers, references, const pointers, and
const references.Call functions, making appropriate use of the function arguments and their
types.Make decisions as to appropriate function call parameter type, from among: value,
reference, const reference, pointer, and const pointer.Compile and run a C++ program in the
Unix/Linux environment using g++.
Operational Objectives: Create a project that computes the mean and median of a sequence of
integers received via standard input.
Deliverables: Four files: stats.h, stats.cpp, main.cpp, makefile. Note that these files
constitute a self-contained project.Background
Given a finite collection of n numbers: The mean is the sum of the numbers divided by n,
andThe median is the middle value (in case n is odd) or the average of the two middle values
(in case n is even).
Note that to find the median of a collection of data, it is convenient to first sort the data,
5. that is, put the data in increasing (or non-decreasing) order. Then the median is just the middle
datum in the sorted sequence (or the average of the two middle data, if there are an even
number).
One of the simplest sort algorithms is called Selection Sort, which operates on an array of
elements and has a computation which can be described in one sentence: For each element of
the array, find the smallest element with equal or higher index in the array and swap these two
elements. Here is a "pseudocode" description of the algorithm: for i in [0...n) // for each
element of array A k = i // find the smallest element following it for j in [i+1...n) if A[j] <
A[k] k = j endif endfor // now A[k] is the smallest element following A[i] swap the
values in A[i] and A[k] endfor
(You could test whether A[k] < A[i] before the swap, but it is not clear this would speed
up the process - swapping may be faster than testing.) Procedural Requirements:
Create and work within a separate subdirectory cop3330/hw2. Review the COP 3330 rules
found in Introduction/Work Rules.
Copy these files LIB/hw2/makefile LIB/hw2/hw2submit.sh
from the course distribution library into your project directory.
Create three more files stats.h stats.cpp main.cpp
complying with the Technical Requirements and Specifications stated below.
Turn in four files stats.h, stats.cpp, main.cpp, and makefile using the hw2submit.sh submit
script.
Warning: Submit scripts do not work on the program and linprog servers. Use shell.cs.fsu.edu
to submit projects. If you do not receive the second confirmation with the contents of your
project, there has been a malfunction.Technical Requirements and Specifications
The project should compile error- and warning-free on linprog with the command make
stats.x.
The number of integers input by the user is not known in advance, except that it will not
exceed 100. Numbers are input through standard input, either from keyboard or file re-direct.
The program should read numbers until a non-digit or end-of-file is encountered or 100
numbers have been read.
Once the input numbers have been read, the program should calculate the mean and median
and then report these values to standard output.
The source code should be structured as follows: Implement separate functions with the
following prototypes: float Mean (const int* array, size_t size); // calculates mean of data in
array float Median (int* array, size_t size); // calculates median of data in array void Swap
(int& x, int& y); // interchanges values of x and y void Sort (int* array, size_t size); // sorts the
data in array I/O is handled by function main(); no other functions should do any
6. I/OFunction main() calls Mean() and Median()Function Median() calls Sort()Function Sort()
calls Swap()
The source code should be organized as follows: Prototypes for Mean, Median, Sort, and
Swap should be in file stats.hImplementations for Mean, Median, Sort, and Swap should be in
file stats.cppFunction main should be in file main.cpp
The Sort() function should implement the Selection Sort algorithm.
When in doubt, your program should behave like the distributed executable examples in
stats_i.x and stats_s.x in area51. Identical behavior is not required, but the general I/O
behavior should be the same. In particular, the data input loop should not be interupted by
prompts for a next datum - this will make file redirect cumbersome. Just ask for the data one
time, then read until a non-digit or end of file is encountered. Hints Sample executables
are distributed in [LIB]/area51. These are named stats_i.x and stats_s.x. The suffixes indicate
which of the two architectures the executable is compiled on: *_i.x runs on Intel/Linux and
*_s.x runs on Sun/Unix. To run a sample executable, follow these steps: (1) Decide which
architecture you want to use. The program machines are 32-bit Sun architecture running
Sun's version of Unix, and the linprog machines are Intel 64-bit architecture running Linux.
(2) Copy the appropriate executable into your space where you want to run it. For example, if
you are logged in to program enter the command "cp [LIB]/area51/stats_s.x .". (3) Change
permissions to executable: "chmod 700 stats_s.x". (4) Execute by entering the name of the
executable. If you want to run it on a data file "data1", use input redirect as in: "stats_s.x <
data1". If you want the output to go to another file, use output redirect: "stats_s.x < data1 >
data1.out". Two test files are distributed in [LIB]/hw2. To run the sample executable on
a file, say data1, first make sure you have an executable copy of the program and the data file,
then enter the command:
stats.x < data1
This is a Unix/Linux operation that redirects the contents of data1 into standard input for
stats.x. Using > redirects program output. For example, the command:
stats.x < data1 > data1.out
sends the contents of data1 to standard input and then sends the program output into the file
data1.out. These are very handy operations for testing programs. It is sometimes simpler
to develop the code in a single file (such as project.cpp) that can be edited in one window and
test-compiled with a single command (such as g++ -Wall -Wextra -ostats.x project.cpp) and
split the file up into the deliverables after the initial round of testing and debugging. Note
that the array in which input is stored is passed to the functions as a pointer. In the case of
Mean(), this pointer is const, indicating that the elements of the array may not be changed by
the call. However in the case of Median(), the array element values are allowed to change.
7. These values are in fact changed by the call to Sort(). The function Sort() operates on the
array input as a pointer. When the function returns, the values of the array should be in
increasing order.The selection sort algorithm requires a nested pair of for loops (one inside the
other).The function Swap() encapsulates the chore of swapping two values. Your sort
implementation should call Swap whever two values need to be swapped. Note that the two
parameters for Swap are passed by reference, so that the function acts on the values in the
calling routine. Sorting the data is essential to calculate the median: when in an array that
is sorted, the middle (two) values are those contained in the middle (two) indices of the array.
The middle index of an array of n elements, when n is odd, is [(n-1)/2]. The middle two
indices, when n is even, are [n/2 - 1] and [n/2]. Be careful when subtracting 1 from an
unsigned integer type such as size_t.Look at the code examples in Chapter 3 of the lecture notes
to find simple ways to structure your main I/O loop.