SlideShare a Scribd company logo
Western Oregon University Page 1 of 2
CS-161 Assignment #7
General
Submit this lab using the Moodle system by the beginning of lab
on the due date.
solution.
(see Assignment 1).
not ask for extra input.
If a program says something like “ask the user for their name
and the number of hours they worked”
you MUST read in the name first, then the number of hours and
not prompt for any other input.
formatting, confusing variable names,
unnecessarily complex code, etc… will all result in deductions
to your score.
Climb Stats
Filename : assign7.cpp
Elevation information about a hike is recorded like the table
shown below indicating that the
hike starts at 1200 feet, after 1 mile is at 3000 feet, etc… This
hike is 8 miles and consists of 9
data points:
Mile 0 1 2 3 4 5 6 7 8
Elevation 1200 3000 3450 2800 2900 1550 1750 1110 1200
Write a program that declares in main:
const int HIKE_LENGTH = 9;
This will represent the number of data points in the hike (not
the number of miles). Then
declares an array of ints of size HIKE_LENGTH. (I should be
able to change the number of
elevation points your code is working with by changing that one
const.)
You should then read in HIKE_LENGTH elevations into the
array (assume we always input the
data in order: mile 0, then 1, then 2…). After doing so, print:
point in the second half of the
hike and the highest point overall in the hike. (If there are an
odd number of elevation
readings, count the middle point as being in the first half).
- mile markers higher than the markers
before and after it. (The first
and last markers will never be considered peaks).
- ones with an
elevation change over 1000
ft (going up or down)
change between each marker
and the next. Note that both up and down count as elevation
change here: going up 800
ft and then down 300 ft would be a total change of 1100 ft.)
Sample run:
Enter elevations: 1200 3000 3450 2800 2900 1550 1750 1110
1200
Highest points:
First half: 3450
Second half: 1750
Overall: 3450
Average elevation: 2106.67
Peaks: 3
Difficult segments: 2
Elevation change: 5280
Make sure to read the
required functions
below.
Western Oregon University Page 2 of 2
CS-161 Assignment #7
You should write and use the following functions to help do
your work. You can add
others as you see fit.
a) void getData(int heights[], int size)
Read elevation data into the array from the console.
Hint… while testing you might want to not use this function and
just hard code
some numbers into main:
int elevations[] = {1200, 3000, 3450, 2800, 2900, 1550, 1750,
1110,
1200};
Once you are done with the other functions or about to turn in
the assignment,
remove the hard coded array and call this function instead.
b) int getHighestPointBetween(const int heights[], int startMile,
int endMile)
Return the highest elevation between the two mile markers
(inclusive).
For the data shown above, asking for highest between 3 and 5
should result in
2900. Asking for the highest between 0 and 8 should result in
3450.
c) double getAverage (const int heights[], int size)
Return the average elevation.
d) int getNumPeaks(const int heights[], int size)
Return the number of peaks in the hike
e) int getNumSteepSegments(const int heights[], int size)
Return the number of segments that end with a change of more
than 1000 feet.
For the numbers shown above, there would be 2 steep segments
(from 0-1 and
4-5).
f) int getTotalChange(const int heights[], int startMile, int
endMile)
Return the total elevation change over the range from startMile
to endMile
(inclusive). Note that any change (uphill or downhill) is
positive change.
For example, using the sample data from earlier in the
document,
getTotalChange(elevations, 1, 3) should return 1100
From 1 to 2 we go from 3000 up to 3450 : a change of 450
From 2 to 3 we go from 3450 to 2800 : a change of 650
A solution without
these functions will take
a significant penalty
even if it produces the
correct output.
Western Oregon University Page 1 of 5
CS-161 Assignment #8
General
Submit this lab using the Moodle system by the beginning of lab
on the due date.
s with your
solution. Each program should be in a
separate file - they MUST be named exactly as specified in each
problem. Do not attach any other
files.
(see Lab1 or 2).
into all programs in the specified order. Do
not ask for extra input.
If a program says something like “ask the user for their name
and the number of hours they worked”
you MUST read in the name first, then the number of hours and
not prompt for any other input.
formatting, confusing variable names,
unnecessarily complex code, etc… will all result in deductions
to your score.
Concepts
Upon completion of this lab the student will be able to use
multidimensional arrays.
Assignment Instructions
WordSearch
Filename : assign8.cpp (This is the file name you MUST use
for the file you submit for this problem.)
OR
assign8.cpp, WordSearch.cpp, WordSearch.h (main in assign8
and helper functions in other files)
A word search is a puzzle where you try to find words hidden in
a large grid of characters like the one
below. The hidden words below are: double, heap, int, main,
program, stack, void
H B G Q W R G X X I
E Y U A S L J A W J
A X D V A B I N T H
P R O G R A M H A A
K L U O B M F J L W
P M B O M O M V T Q
J Z L V D N A Z H D
G Y E D V O I D F D
X L D M N M N O P A
S T A C K U V M J P
Write a menu driven program to help build a word search. Your
program should start with an empty
character grid and allow the user to build a puzzle. It should
have a menu with the following options:
1: Print key
2: Print puzzle
3: Add horizontal word
4: Add vertical word
5: Check horizontal fit
6: Space count
8: Quit
(7 is reserved for the optional challenge).
You MUST use these menu
options. Do not change the
order.
Do not worry about bad
input.
Hint: You can get your
menu system working
without worrying about
the rest of the problem.
Western Oregon University Page 2 of 5
CS-161 Assignment #8
Your program should ask the user for a number representing an
option, then perform that option. After
performing any option (other than 8), the user should get to
enter a new option. Below are descriptions
of the options. Each menu item should be implemented as a
separate function. It is fine to add other
functions, but you must have at least one function per option.
If you do not get a particular option working, just print out a
message to that effect (“Sorry, option 3 is not
available”) and allow the user to choose a new option.
Option 1:
Print out the current puzzle grid in a format like (blank squares
are shown as _ here, you can just print
spaces if you want or some other special character to indicate
blanks):
H _ _ _ _ _ _ _ _ _
E _ _ _ _ _ _ _ _ _
A _ D _ _ _ I N T _
P R O G R A M _ _ _
_ _ U _ _ _ _ _ _ _
_ _ B _ _ _ M _ _ _
_ _ L _ _ _ A _ _ _
_ _ E _ V O I D _ _
_ _ _ _ _ _ N _ _ _
S T A C K _ _ _ _ _
Option 2:
Print out the current puzzle grid, but fill empty spaces with
random characters:
H B G Q W R G X X I
E Y U A S L J A W J
A X D V A B I N T H
P R O G R A M H A A
K L U O B M F J L W
P M B O M O M V T Q
J Z L V D N A Z H D
G Y E D V O I D F D
X L D M N M N O P A
S T A C K U V M J P
Continues…
Do not actually modify the
puzzle grid, just print out
random chars instead of
_’s
Note – your grid should
start with all _’s. This is
what a partially filled grid
should look like.
Western Oregon University Page 3 of 5
CS-161 Assignment #8
Option 3:
Ask the user for a starting row (1-10), column (1-10) and a
word. If the word is too long to fit, print an
error message and return to the main menu. Otherwise, place it
in the grid going to the right starting from
the indicated location. You do not have to worry about
overlapping words, if the user tries to place one
word on top of another, go ahead and add the word and assume
they know what they are doing.
Initial State:
H _ _ _ _ _ _ _ _ _
E _ _ _ _ _ _ _ _ _
A _ _ _ _ _ _ _ _ _
P _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
Sample input 1:
Enter row: 3
Enter col: 1
Enter word: ENUM
Result (should NOT be automatically printed):
H _ _ _ _ _ _ _ _ _
E _ _ _ _ _ _ _ _ _
E N U M _ _ _ _ _ _
P _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _
Sample input 2:
Enter row: 1
Enter col: 5
Enter word: PARAMETER
Result:
Print “Error, does not fit”
“assume the user knows
what they are doing” is a
bad idea in the real world
Western Oregon University Page 4 of 5
CS-161 Assignment #8
Option 4:
Ask the user for a starting row (1-10), column (1-10) and a
word. This should work just like placing a
horizontal word, but should place it going down starting from
the indicated location. Once again, if the
word is too long to fit, just print an error message and return to
the main menu. Also, do not worry about
existing words, overwrite anything that is there.
Option 5:
Ask the user for a starting row (1-10), column (1-10) and a
word. Verify if the given word can fit
horizontally in the indicated location. To “fit” a word needs to
physically fit and all the letters in the word
need to not change existing words in the grid.
Print either “Fits” or “Does not fit”. Do not actually place the
word.
Given this starting grid (colors to show areas):
H _ _ _ _ _ _ _ _ _
E _ _ _ _ _ _ _ _ _
A _ D _ _ _ I N T _
P R O G R A M _ _ _
_ _ U _ _ _ _ _ _ _
_ _ B _ _ _ M _ _ _
_ _ L _ _ _ A _ _ _
_ _ E _ V O I D _ _
_ _ _ _ _ _ N _ _ _
S T A C K _ _ _ _ _
Sample input 1 (Placing “MEMORY” in the green area. It
overlaps “MAIN”, but so that the “M”s match):
Enter row: 6
Enter col: 5
Enter word: MEMORY
Result:
Fits
Sample input 2 (placing “MEMORY” in the orange area where
it overlaps “MAIN” but letters do not match
up):
Enter row: 9
Enter col: 5
Enter word: MEMORY
Result:
Does not fit
Option 6:
Print out how many blank spaces there are in the current puzzle.
Given the grid shown in Option 5, your
program should print 70.
Option 8:
The program should end. Ideally, it should just exit normally by
finishing main. But you can also use this
line to kill the program:
exit(0);
Western Oregon University Page 5 of 5
CS-161 Assignment #8
Optional challenge:
Add an option 7. It should print out the size and location of the
largest horizontal opening in each row. If
there is a tie, print the first of the larges gaps. For the grid in
option 5 you would print:
Row Gap Size Start Col
1 9 2
2 9 2
3 3 4
4 3 8
5 7 4
6 3 4 (This ties with the gap at 7)
7 3 4 (Another tie)
8 2 1 (Another tie)
9 6 1
10 5 6
Debugging Tip:
Although your grid in the final program should start out with all
_ characters, it will probably make it
easier to test your program if you start it with some data. Use
something like this to initialize your 2D
array while testing:
{
{"H","_","_","_","_","_","_","_","_","_"},
{"E","_","_","_","_","_","_","_","_","_"},
{"A","_","D","_","_","_","I","N","T","_"},
{"P","R","O","G","R","A","M","_","_","_"},
{"_","_","U","_","_","_","_","_","_","_"},
{"_","_","B","_","_","_","M","_","_","_"},
{"_","_","L","_","_","_","A","_","_","_"},
{"_","_","E","_","V","O","I","D","_","_"},
{"_","_","_","_","_","_","N","_","_","_"},
{"S","T","A","C","K","_","_","_","_","_"}
};
Then when you are done, comment out or delete that code and
replace it with something to initialize the
grid to a totally empty one.
Western Oregon University Page 1 of 1
CS-161 Lab #5
General
Submit this lab using the Moodle system by the beginning of lab
on the due date.
solution. It MUST be named exactly as
specified in each problem. Do not attach any other files.
mment at the top
(see assignment 1).
not ask for extra input.
If a program says something like “ask the user for their name
and the number of hours they worked”
you MUST read in the name first, then the number of hours and
not prompt for any other input.
formatting, confusing variable names,
unnecessarily complex code, etc… will all result in deductions
to your score.
Assignment Instructions
Filename : assign5.cpp (This is the file name you MUST use
for the file you submit for this problem.)
Write a program that extracts information from a text file
containing information about images on a
website.
Your program should read from a file called Images.txt which
will consist of an unknown number of lines.
Each line consists of an image URL (web address), an MD5
hash identifying the image, and a file size in
bytes. Here is what a line might look like:
http://smugmug.com/thumbs/Lacus.jpeg?170x330
44cf8edbd53cf75be874604b39a7694c 21990
Note that the URL consists of “http://smugmug.com/thumbs/”
followed by a filename (“Lacus.jpeg”)
including extension, then a question mark and the width (170)
and height (330) of the image.
A sample data file is provided below this assignment link named
Images.txt
Note that this file has 5 lines, but when I test your program I
will not use this exact file. You cannot count
on there always being exactly 5 images. The file will end with
an empty line (like the sample file). Make
sure to test your program with more/less lines than 5.
Your program should print out an organized table that for each
image shows: the filename, image type
(the file extension), the width, the height and the size in kB
(1024 bytes in a kB) rounded to one decimal
place. It should then display the total size in kB of the images.
Something like:
Name Type Width Height Size
Lacus.jpeg jpeg 170 330 21.5
Vel.jpeg jpeg 300 220 10.4
ElementumNullam.png png 270 280 58.6
MontesNasceturRidiculus.jpeg jpeg 180 220 101.5
AtLorem.jpeg jpeg 200 240 21.6
Total Size: 213.6
Hints:
numbers, but if you
do, here is how to do so:
string foo = "123";
int x = stoi(foo); //convert string to int
string bar = "123.5";
double y = stod(bar); //convert string to double
Make sure that you read
the right input file name.
Capitalization counts!
DO NOT USE A HARD
CODED PATH to a
particular directory like:
"C:StuffImages.txt" Your
code must open a file that
is JUST called " Images.txt"
Do not submit the test file,
I will use my own.
Western Oregon University Page 1 of 3
CS-161 Assignment #6
General
Submit this lab using the Moodle system by the beginning of lab
on the due date.
(see Lab1).
all programs in the specified order. Do
not ask for extra input.
If a program says something like “ask the user for their name
and the number of hours they worked”
you MUST read in the name first, then the number of hours and
not prompt for any other input.
formatting, confusing variable names,
unnecessarily complex code, etc… will all result in deductions
to your score.
Concepts
Upon completion of this lab the student will be able to write
functions to break up a program into
reusable blocks.
Background
The last digit of a credit card number is always chosen to
provide a checksum of the other digits. (The
scheme used is called the Luhn algorithm:
http://en.wikipedia.org/wiki/Luhn_algorithm). If one digit in a
credit card is changed, or they are typed in the wrong order, the
checksum should detect the data entry
mistake.
To check a credit card number, you need to:
the digits, BUT for every second
digit, do the following to the digit
o If the number ends up being two digits, add the two digits (i.e.
that as the number
visible by 10, the number is valid. If
not, the number is invalid.
Samples:
Given the number "79927398713", we would start on the right
with the 3 - it would not be doubled, but
the 1 would be. Then 7 is not doubled, but 8 is…
Digit 7 9 9 2 7 3 9 8 7 1 3
Doubled 18 4 6 16 2
One
9 7 Sum
Digits added 7 9 9 4 7 6 9 7 7 2 3 70
Since 70 is divisibly by 10, it is possibly a valid credit card
number.
Given the number "12345671234567", we would start from the
7 on the right, it is not doubled, but the 6
is. Then 5 is not doubled, but 4 is…
Digit 1 2 3 4 5 6 7 1 2 3 4 5 6 7
Doubled 2 6 10 14 4 8 12
One
1 5 3 Sum
Digits added 2 2 6 4 1 6 5 1 4 3 8 5 3 7 57
Since 57 is not divisibly by 10, it is NOT a possibly valid credit
card number.
Also, you can use identify the issuer of a credit card with the
beginning digit(s):
http://en.wikipedia.org/wiki/Luhn_algorithm
Western Oregon University Page 2 of 3
CS-161 Assignment #6
Problem : Credit Card Checker
Filename : assign6.cpp (This is the file name you MUST use
for the file you submit for this problem.)
Write a program that reads in a string representing a credit card
number. It should then print out if the
number is valid and what kind of card it is.
Sample runs:
Run 1:
Enter card number: 79927398713
Valid number, unknown issuer
Run 2:
Enter card number: 43214321
Not a valid number, Visa
Required Functions:
You MUST create and use the following functions in your code:
Takes in a string as a parameter - prints that to the console, then
gets a string of input from the
console and returns the input.
Turns a char like '3' into the number it represents (3). Behavior
is undefined for chars that do not
representing digits.
er);
Processes a number to be doubled according to the rule for a
doubled digit in the Luhn
algorithm. Double the number and either return this value if the
number is still single digits, or
return the sum of the digits if it is a double digit number.
Calling doubledDigitValue(4) should
give 8. Calling doubledDigitValue(8) should give 7.
Sums the digits of a credit card number according to the Luhn
algorithm. i.e. Calling
sumOfDigits("79927398713") should result in 70. (This should
make use of charToInt and
doubledDigitValue.)
Hint: the algorithm is supposed to work from right to left. Start
by just printing out the string one
char at a time in reverse order. Then worry about actually
adding up their values. Don't forget
that every second one gets doubled.
Returns true/false indicating if a credit card number is
potentially a valid number according to
Luhn algorithm. (This should use a call to sumOfDigits!)
Returns a string representing the type of credit card a number
is: Visa, MasterCard, American
Express, or Unknown.
Each function (other than main) MUST be preceded by a
doxygen style comment consisting of at least:
@brief
@param for each parameter
@return (unless void)
A program that works but
does not use functions will
receive 0 pts.
Feel free to add more
functions, but you must at
least create and use the
listed ones.
Western Oregon University Page 3 of 3
CS-161 Assignment #6
Strategy:
You can and should build functions one by one and test them in
main. For example, to test getInput you
might write in your main function:
string card = getInput("Enter card number:");
cout << card << endl; //should be whatever you enter
Once you are sure that function is working correctly, you can
delete (or comment out) those tests and
start working on the next function – testing it as you go. Once
they are all written, you can write the "real"
main function… it should only take a few lines of code to
express.
Here is a diagram of how the functions should relate to each
other. It shows that main should at some
point call isValid and give it a string like "43214368". isValid
will do some work with that string and
eventually return true or false. As part of doing its work,
isValid should call sumOfDigits and pass it the
string representing the card number. sumOfDigits will return an
int like 45 based on doing the
Optional challenge:
Break out all your functions other than getInput into a file
"CreditFunctions.cpp". Declare them all in a file
"CreditFunctions.h" that is included from assign6.cpp.
assign6.cpp should now just have the getInput and
main functions. Submit all three files.
Do NOT worry about
solving the "problem" until
all your functions are
working.
You can and should make
use of functions to build
other functions!
Sample parameter/return
values are just SAMPLES –
do not try to hard code in
these values!!!
http://smugmug.com/thumbs/Lacus.jpeg?170x330
44cf8edbd53cf75be874604b39a7694c 21990
http://smugmug.com/thumbs/Vel.jpeg?300x220
3a5414349bd34657e58bd0603f6cdf0d 10689
http://smugmug.com/thumbs/ElementumNullam.png?270x280
ae4619f06272cb0b87d1eca49a84698b 59995
http://smugmug.com/thumbs/MontesNasceturRidiculus.jpeg?180
x220 00bb01dc4ea0c7bd929111c8f8511970 103889
http://smugmug.com/thumbs/AtLorem.jpeg?200x240
2042f0e5b7fc38c239b5f4ca447f6574 22108

More Related Content

Similar to Western Oregon University Page 1 of 2 CS-161.docx

Python Homework Help
Python Homework HelpPython Homework Help
Python Homework Help
Python Homework Help
 
CS10 Python Programming Homework 4 40 points Lists, Tupl.docx
CS10 Python Programming Homework 4 40 points Lists, Tupl.docxCS10 Python Programming Homework 4 40 points Lists, Tupl.docx
CS10 Python Programming Homework 4 40 points Lists, Tupl.docx
mydrynan
 
Comp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source codeComp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source code
pradesigali1
 
2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit
hartcher
 
Looping
LoopingLooping
You must implement the following functions- Name the functions exactly.docx
You must implement the following functions- Name the functions exactly.docxYou must implement the following functions- Name the functions exactly.docx
You must implement the following functions- Name the functions exactly.docx
Sebastian6SWSlaterb
 
27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar
Alan Murray
 
Excel Top 10 formula For The Beginners
Excel Top 10 formula For The BeginnersExcel Top 10 formula For The Beginners
Excel Top 10 formula For The Beginners
Stat Analytica
 
5 structured programming
5 structured programming 5 structured programming
5 structured programming
hccit
 
Enrich enriching mathematics conversi biner 16 pada sisikomputerize indoensia...
Enrich enriching mathematics conversi biner 16 pada sisikomputerize indoensia...Enrich enriching mathematics conversi biner 16 pada sisikomputerize indoensia...
Enrich enriching mathematics conversi biner 16 pada sisikomputerize indoensia...
Dadangsachir WANDA ir.mba
 
Program 1 – CS 344This assignment asks you to write a bash.docx
Program 1 – CS 344This assignment asks you to write a bash.docxProgram 1 – CS 344This assignment asks you to write a bash.docx
Program 1 – CS 344This assignment asks you to write a bash.docx
wkyra78
 
stats
statsstats
stats
Aiden Yeh
 
1.MATH 221 Statistics for Decision MakingWeek 2 iLabName.docx
1.MATH 221 Statistics for Decision MakingWeek 2 iLabName.docx1.MATH 221 Statistics for Decision MakingWeek 2 iLabName.docx
1.MATH 221 Statistics for Decision MakingWeek 2 iLabName.docx
AlyciaGold776
 
pyton Notes9
pyton Notes9pyton Notes9
pyton Notes9
Amba Research
 
Java conceptual learning material
Java conceptual learning materialJava conceptual learning material
Java conceptual learning material
ArthyR3
 
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docxLab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
ABDULAHAD507571
 
import java.util.Scanner;Henry Cutler ID 1234 7202.docx
import java.util.Scanner;Henry Cutler ID 1234  7202.docximport java.util.Scanner;Henry Cutler ID 1234  7202.docx
import java.util.Scanner;Henry Cutler ID 1234 7202.docx
wilcockiris
 
Python+Syntax+Cheat+Sheet+Booklet.pdf
Python+Syntax+Cheat+Sheet+Booklet.pdfPython+Syntax+Cheat+Sheet+Booklet.pdf
Python+Syntax+Cheat+Sheet+Booklet.pdf
Ganteng tengab
 
Oop lab assignment 01
Oop lab assignment 01Oop lab assignment 01
Oop lab assignment 01
Drjilesh
 

Similar to Western Oregon University Page 1 of 2 CS-161.docx (19)

Python Homework Help
Python Homework HelpPython Homework Help
Python Homework Help
 
CS10 Python Programming Homework 4 40 points Lists, Tupl.docx
CS10 Python Programming Homework 4 40 points Lists, Tupl.docxCS10 Python Programming Homework 4 40 points Lists, Tupl.docx
CS10 Python Programming Homework 4 40 points Lists, Tupl.docx
 
Comp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source codeComp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source code
 
2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit2.6b scatter plots and lines of best fit
2.6b scatter plots and lines of best fit
 
Looping
LoopingLooping
Looping
 
You must implement the following functions- Name the functions exactly.docx
You must implement the following functions- Name the functions exactly.docxYou must implement the following functions- Name the functions exactly.docx
You must implement the following functions- Name the functions exactly.docx
 
27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar27 Excel Hacks to Make You a Superstar
27 Excel Hacks to Make You a Superstar
 
Excel Top 10 formula For The Beginners
Excel Top 10 formula For The BeginnersExcel Top 10 formula For The Beginners
Excel Top 10 formula For The Beginners
 
5 structured programming
5 structured programming 5 structured programming
5 structured programming
 
Enrich enriching mathematics conversi biner 16 pada sisikomputerize indoensia...
Enrich enriching mathematics conversi biner 16 pada sisikomputerize indoensia...Enrich enriching mathematics conversi biner 16 pada sisikomputerize indoensia...
Enrich enriching mathematics conversi biner 16 pada sisikomputerize indoensia...
 
Program 1 – CS 344This assignment asks you to write a bash.docx
Program 1 – CS 344This assignment asks you to write a bash.docxProgram 1 – CS 344This assignment asks you to write a bash.docx
Program 1 – CS 344This assignment asks you to write a bash.docx
 
stats
statsstats
stats
 
1.MATH 221 Statistics for Decision MakingWeek 2 iLabName.docx
1.MATH 221 Statistics for Decision MakingWeek 2 iLabName.docx1.MATH 221 Statistics for Decision MakingWeek 2 iLabName.docx
1.MATH 221 Statistics for Decision MakingWeek 2 iLabName.docx
 
pyton Notes9
pyton Notes9pyton Notes9
pyton Notes9
 
Java conceptual learning material
Java conceptual learning materialJava conceptual learning material
Java conceptual learning material
 
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docxLab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
Lab 4 ,5 & 6 Submission (3) 14136_Mohsin Alvi.docx
 
import java.util.Scanner;Henry Cutler ID 1234 7202.docx
import java.util.Scanner;Henry Cutler ID 1234  7202.docximport java.util.Scanner;Henry Cutler ID 1234  7202.docx
import java.util.Scanner;Henry Cutler ID 1234 7202.docx
 
Python+Syntax+Cheat+Sheet+Booklet.pdf
Python+Syntax+Cheat+Sheet+Booklet.pdfPython+Syntax+Cheat+Sheet+Booklet.pdf
Python+Syntax+Cheat+Sheet+Booklet.pdf
 
Oop lab assignment 01
Oop lab assignment 01Oop lab assignment 01
Oop lab assignment 01
 

More from aryan532920

According to the NASW Code of Ethics section 6.04 (NASW, 2008), .docx
According to the NASW Code of Ethics section 6.04 (NASW, 2008), .docxAccording to the NASW Code of Ethics section 6.04 (NASW, 2008), .docx
According to the NASW Code of Ethics section 6.04 (NASW, 2008), .docx
aryan532920
 
According to the text, crime has been part of the human condition si.docx
According to the text, crime has been part of the human condition si.docxAccording to the text, crime has been part of the human condition si.docx
According to the text, crime has been part of the human condition si.docx
aryan532920
 
According to Ronald Story and Bruce Laurie, The dozen years between.docx
According to Ronald Story and Bruce Laurie, The dozen years between.docxAccording to Ronald Story and Bruce Laurie, The dozen years between.docx
According to Ronald Story and Bruce Laurie, The dozen years between.docx
aryan532920
 
According to Kirk (2016), most of your time will be spent work with .docx
According to Kirk (2016), most of your time will be spent work with .docxAccording to Kirk (2016), most of your time will be spent work with .docx
According to Kirk (2016), most of your time will be spent work with .docx
aryan532920
 
According to the Council on Social Work Education, Competency 5 Eng.docx
According to the Council on Social Work Education, Competency 5 Eng.docxAccording to the Council on Social Work Education, Competency 5 Eng.docx
According to the Council on Social Work Education, Competency 5 Eng.docx
aryan532920
 
According to Kirk (2016), most of our time will be spent working.docx
According to Kirk (2016), most of our time will be spent working.docxAccording to Kirk (2016), most of our time will be spent working.docx
According to Kirk (2016), most of our time will be spent working.docx
aryan532920
 
According to Kirk (2016), most of your time will be spent working wi.docx
According to Kirk (2016), most of your time will be spent working wi.docxAccording to Kirk (2016), most of your time will be spent working wi.docx
According to Kirk (2016), most of your time will be spent working wi.docx
aryan532920
 
According to Davenport (2014) the organizational value of healthcare.docx
According to Davenport (2014) the organizational value of healthcare.docxAccording to Davenport (2014) the organizational value of healthcare.docx
According to Davenport (2014) the organizational value of healthcare.docx
aryan532920
 
According to the authors, privacy and security go hand in hand; .docx
According to the authors, privacy and security go hand in hand; .docxAccording to the authors, privacy and security go hand in hand; .docx
According to the authors, privacy and security go hand in hand; .docx
aryan532920
 
According to Gilbert and Troitzsch (2005), Foundations of Simula.docx
According to Gilbert and Troitzsch (2005), Foundations of Simula.docxAccording to Gilbert and Troitzsch (2005), Foundations of Simula.docx
According to Gilbert and Troitzsch (2005), Foundations of Simula.docx
aryan532920
 
According to Klein (2016), using ethical absolutism and ethical .docx
According to Klein (2016), using ethical absolutism and ethical .docxAccording to Klein (2016), using ethical absolutism and ethical .docx
According to Klein (2016), using ethical absolutism and ethical .docx
aryan532920
 
According to Franks and Smallwood (2013), information has become.docx
According to Franks and Smallwood (2013), information has become.docxAccording to Franks and Smallwood (2013), information has become.docx
According to Franks and Smallwood (2013), information has become.docx
aryan532920
 
According to the Council on Social Work Education, Competency 5.docx
According to the Council on Social Work Education, Competency 5.docxAccording to the Council on Social Work Education, Competency 5.docx
According to the Council on Social Work Education, Competency 5.docx
aryan532920
 
According to the authors, privacy and security go hand in hand; and .docx
According to the authors, privacy and security go hand in hand; and .docxAccording to the authors, privacy and security go hand in hand; and .docx
According to the authors, privacy and security go hand in hand; and .docx
aryan532920
 
According to recent surveys, China, India, and the Philippines are t.docx
According to recent surveys, China, India, and the Philippines are t.docxAccording to recent surveys, China, India, and the Philippines are t.docx
According to recent surveys, China, India, and the Philippines are t.docx
aryan532920
 
According to the authors, countries that lag behind the rest of the .docx
According to the authors, countries that lag behind the rest of the .docxAccording to the authors, countries that lag behind the rest of the .docx
According to the authors, countries that lag behind the rest of the .docx
aryan532920
 
According to Peskin et al. (2013) in our course reader, Studies on .docx
According to Peskin et al. (2013) in our course reader, Studies on .docxAccording to Peskin et al. (2013) in our course reader, Studies on .docx
According to Peskin et al. (2013) in our course reader, Studies on .docx
aryan532920
 
According to Franks and Smallwood (2013), information has become the.docx
According to Franks and Smallwood (2013), information has become the.docxAccording to Franks and Smallwood (2013), information has become the.docx
According to Franks and Smallwood (2013), information has become the.docx
aryan532920
 
According to Ang (2011), how is Social Media management differen.docx
According to Ang (2011), how is Social Media management differen.docxAccording to Ang (2011), how is Social Media management differen.docx
According to Ang (2011), how is Social Media management differen.docx
aryan532920
 
According to (Alsaidi & Kausar (2018), It is expected that by 2020,.docx
According to (Alsaidi & Kausar (2018), It is expected that by 2020,.docxAccording to (Alsaidi & Kausar (2018), It is expected that by 2020,.docx
According to (Alsaidi & Kausar (2018), It is expected that by 2020,.docx
aryan532920
 

More from aryan532920 (20)

According to the NASW Code of Ethics section 6.04 (NASW, 2008), .docx
According to the NASW Code of Ethics section 6.04 (NASW, 2008), .docxAccording to the NASW Code of Ethics section 6.04 (NASW, 2008), .docx
According to the NASW Code of Ethics section 6.04 (NASW, 2008), .docx
 
According to the text, crime has been part of the human condition si.docx
According to the text, crime has been part of the human condition si.docxAccording to the text, crime has been part of the human condition si.docx
According to the text, crime has been part of the human condition si.docx
 
According to Ronald Story and Bruce Laurie, The dozen years between.docx
According to Ronald Story and Bruce Laurie, The dozen years between.docxAccording to Ronald Story and Bruce Laurie, The dozen years between.docx
According to Ronald Story and Bruce Laurie, The dozen years between.docx
 
According to Kirk (2016), most of your time will be spent work with .docx
According to Kirk (2016), most of your time will be spent work with .docxAccording to Kirk (2016), most of your time will be spent work with .docx
According to Kirk (2016), most of your time will be spent work with .docx
 
According to the Council on Social Work Education, Competency 5 Eng.docx
According to the Council on Social Work Education, Competency 5 Eng.docxAccording to the Council on Social Work Education, Competency 5 Eng.docx
According to the Council on Social Work Education, Competency 5 Eng.docx
 
According to Kirk (2016), most of our time will be spent working.docx
According to Kirk (2016), most of our time will be spent working.docxAccording to Kirk (2016), most of our time will be spent working.docx
According to Kirk (2016), most of our time will be spent working.docx
 
According to Kirk (2016), most of your time will be spent working wi.docx
According to Kirk (2016), most of your time will be spent working wi.docxAccording to Kirk (2016), most of your time will be spent working wi.docx
According to Kirk (2016), most of your time will be spent working wi.docx
 
According to Davenport (2014) the organizational value of healthcare.docx
According to Davenport (2014) the organizational value of healthcare.docxAccording to Davenport (2014) the organizational value of healthcare.docx
According to Davenport (2014) the organizational value of healthcare.docx
 
According to the authors, privacy and security go hand in hand; .docx
According to the authors, privacy and security go hand in hand; .docxAccording to the authors, privacy and security go hand in hand; .docx
According to the authors, privacy and security go hand in hand; .docx
 
According to Gilbert and Troitzsch (2005), Foundations of Simula.docx
According to Gilbert and Troitzsch (2005), Foundations of Simula.docxAccording to Gilbert and Troitzsch (2005), Foundations of Simula.docx
According to Gilbert and Troitzsch (2005), Foundations of Simula.docx
 
According to Klein (2016), using ethical absolutism and ethical .docx
According to Klein (2016), using ethical absolutism and ethical .docxAccording to Klein (2016), using ethical absolutism and ethical .docx
According to Klein (2016), using ethical absolutism and ethical .docx
 
According to Franks and Smallwood (2013), information has become.docx
According to Franks and Smallwood (2013), information has become.docxAccording to Franks and Smallwood (2013), information has become.docx
According to Franks and Smallwood (2013), information has become.docx
 
According to the Council on Social Work Education, Competency 5.docx
According to the Council on Social Work Education, Competency 5.docxAccording to the Council on Social Work Education, Competency 5.docx
According to the Council on Social Work Education, Competency 5.docx
 
According to the authors, privacy and security go hand in hand; and .docx
According to the authors, privacy and security go hand in hand; and .docxAccording to the authors, privacy and security go hand in hand; and .docx
According to the authors, privacy and security go hand in hand; and .docx
 
According to recent surveys, China, India, and the Philippines are t.docx
According to recent surveys, China, India, and the Philippines are t.docxAccording to recent surveys, China, India, and the Philippines are t.docx
According to recent surveys, China, India, and the Philippines are t.docx
 
According to the authors, countries that lag behind the rest of the .docx
According to the authors, countries that lag behind the rest of the .docxAccording to the authors, countries that lag behind the rest of the .docx
According to the authors, countries that lag behind the rest of the .docx
 
According to Peskin et al. (2013) in our course reader, Studies on .docx
According to Peskin et al. (2013) in our course reader, Studies on .docxAccording to Peskin et al. (2013) in our course reader, Studies on .docx
According to Peskin et al. (2013) in our course reader, Studies on .docx
 
According to Franks and Smallwood (2013), information has become the.docx
According to Franks and Smallwood (2013), information has become the.docxAccording to Franks and Smallwood (2013), information has become the.docx
According to Franks and Smallwood (2013), information has become the.docx
 
According to Ang (2011), how is Social Media management differen.docx
According to Ang (2011), how is Social Media management differen.docxAccording to Ang (2011), how is Social Media management differen.docx
According to Ang (2011), how is Social Media management differen.docx
 
According to (Alsaidi & Kausar (2018), It is expected that by 2020,.docx
According to (Alsaidi & Kausar (2018), It is expected that by 2020,.docxAccording to (Alsaidi & Kausar (2018), It is expected that by 2020,.docx
According to (Alsaidi & Kausar (2018), It is expected that by 2020,.docx
 

Recently uploaded

Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Excellence Foundation for South Sudan
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
History of Stoke Newington
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
Celine George
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
adhitya5119
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
AyyanKhan40
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
paigestewart1632
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
PECB
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
Nguyen Thanh Tu Collection
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
Dr. Shivangi Singh Parihar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
Israel Genealogy Research Association
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 

Recently uploaded (20)

Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Your Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective UpskillingYour Skill Boost Masterclass: Strategies for Effective Upskilling
Your Skill Boost Masterclass: Strategies for Effective Upskilling
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
The History of Stoke Newington Street Names
The History of Stoke Newington Street NamesThe History of Stoke Newington Street Names
The History of Stoke Newington Street Names
 
How to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRMHow to Manage Your Lost Opportunities in Odoo 17 CRM
How to Manage Your Lost Opportunities in Odoo 17 CRM
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
Main Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docxMain Java[All of the Base Concepts}.docx
Main Java[All of the Base Concepts}.docx
 
PIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf IslamabadPIMS Job Advertisement 2024.pdf Islamabad
PIMS Job Advertisement 2024.pdf Islamabad
 
Cognitive Development Adolescence Psychology
Cognitive Development Adolescence PsychologyCognitive Development Adolescence Psychology
Cognitive Development Adolescence Psychology
 
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
ISO/IEC 27001, ISO/IEC 42001, and GDPR: Best Practices for Implementation and...
 
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
BÀI TẬP BỔ TRỢ TIẾNG ANH LỚP 9 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2024-2025 - ...
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.PCOS corelations and management through Ayurveda.
PCOS corelations and management through Ayurveda.
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
The Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collectionThe Diamonds of 2023-2024 in the IGRA collection
The Diamonds of 2023-2024 in the IGRA collection
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 

Western Oregon University Page 1 of 2 CS-161.docx

  • 1. Western Oregon University Page 1 of 2 CS-161 Assignment #7 General Submit this lab using the Moodle system by the beginning of lab on the due date. solution. (see Assignment 1). not ask for extra input. If a program says something like “ask the user for their name and the number of hours they worked” you MUST read in the name first, then the number of hours and not prompt for any other input. formatting, confusing variable names, unnecessarily complex code, etc… will all result in deductions to your score. Climb Stats Filename : assign7.cpp
  • 2. Elevation information about a hike is recorded like the table shown below indicating that the hike starts at 1200 feet, after 1 mile is at 3000 feet, etc… This hike is 8 miles and consists of 9 data points: Mile 0 1 2 3 4 5 6 7 8 Elevation 1200 3000 3450 2800 2900 1550 1750 1110 1200 Write a program that declares in main: const int HIKE_LENGTH = 9; This will represent the number of data points in the hike (not the number of miles). Then declares an array of ints of size HIKE_LENGTH. (I should be able to change the number of elevation points your code is working with by changing that one const.) You should then read in HIKE_LENGTH elevations into the array (assume we always input the data in order: mile 0, then 1, then 2…). After doing so, print: point in the second half of the hike and the highest point overall in the hike. (If there are an odd number of elevation readings, count the middle point as being in the first half). - mile markers higher than the markers before and after it. (The first and last markers will never be considered peaks).
  • 3. - ones with an elevation change over 1000 ft (going up or down) change between each marker and the next. Note that both up and down count as elevation change here: going up 800 ft and then down 300 ft would be a total change of 1100 ft.) Sample run: Enter elevations: 1200 3000 3450 2800 2900 1550 1750 1110 1200 Highest points: First half: 3450 Second half: 1750 Overall: 3450 Average elevation: 2106.67 Peaks: 3 Difficult segments: 2 Elevation change: 5280 Make sure to read the required functions below. Western Oregon University Page 2 of 2
  • 4. CS-161 Assignment #7 You should write and use the following functions to help do your work. You can add others as you see fit. a) void getData(int heights[], int size) Read elevation data into the array from the console. Hint… while testing you might want to not use this function and just hard code some numbers into main: int elevations[] = {1200, 3000, 3450, 2800, 2900, 1550, 1750, 1110, 1200}; Once you are done with the other functions or about to turn in the assignment, remove the hard coded array and call this function instead. b) int getHighestPointBetween(const int heights[], int startMile, int endMile) Return the highest elevation between the two mile markers (inclusive). For the data shown above, asking for highest between 3 and 5 should result in 2900. Asking for the highest between 0 and 8 should result in 3450. c) double getAverage (const int heights[], int size) Return the average elevation. d) int getNumPeaks(const int heights[], int size) Return the number of peaks in the hike
  • 5. e) int getNumSteepSegments(const int heights[], int size) Return the number of segments that end with a change of more than 1000 feet. For the numbers shown above, there would be 2 steep segments (from 0-1 and 4-5). f) int getTotalChange(const int heights[], int startMile, int endMile) Return the total elevation change over the range from startMile to endMile (inclusive). Note that any change (uphill or downhill) is positive change. For example, using the sample data from earlier in the document, getTotalChange(elevations, 1, 3) should return 1100 From 1 to 2 we go from 3000 up to 3450 : a change of 450 From 2 to 3 we go from 3450 to 2800 : a change of 650 A solution without these functions will take a significant penalty even if it produces the correct output. Western Oregon University Page 1 of 5
  • 6. CS-161 Assignment #8 General Submit this lab using the Moodle system by the beginning of lab on the due date. s with your solution. Each program should be in a separate file - they MUST be named exactly as specified in each problem. Do not attach any other files. (see Lab1 or 2). into all programs in the specified order. Do not ask for extra input. If a program says something like “ask the user for their name and the number of hours they worked” you MUST read in the name first, then the number of hours and not prompt for any other input. formatting, confusing variable names, unnecessarily complex code, etc… will all result in deductions to your score. Concepts Upon completion of this lab the student will be able to use multidimensional arrays. Assignment Instructions
  • 7. WordSearch Filename : assign8.cpp (This is the file name you MUST use for the file you submit for this problem.) OR assign8.cpp, WordSearch.cpp, WordSearch.h (main in assign8 and helper functions in other files) A word search is a puzzle where you try to find words hidden in a large grid of characters like the one below. The hidden words below are: double, heap, int, main, program, stack, void H B G Q W R G X X I E Y U A S L J A W J A X D V A B I N T H P R O G R A M H A A K L U O B M F J L W P M B O M O M V T Q J Z L V D N A Z H D G Y E D V O I D F D X L D M N M N O P A S T A C K U V M J P Write a menu driven program to help build a word search. Your program should start with an empty
  • 8. character grid and allow the user to build a puzzle. It should have a menu with the following options: 1: Print key 2: Print puzzle 3: Add horizontal word 4: Add vertical word 5: Check horizontal fit 6: Space count 8: Quit (7 is reserved for the optional challenge). You MUST use these menu options. Do not change the order. Do not worry about bad input. Hint: You can get your menu system working without worrying about the rest of the problem. Western Oregon University Page 2 of 5 CS-161 Assignment #8
  • 9. Your program should ask the user for a number representing an option, then perform that option. After performing any option (other than 8), the user should get to enter a new option. Below are descriptions of the options. Each menu item should be implemented as a separate function. It is fine to add other functions, but you must have at least one function per option. If you do not get a particular option working, just print out a message to that effect (“Sorry, option 3 is not available”) and allow the user to choose a new option. Option 1: Print out the current puzzle grid in a format like (blank squares are shown as _ here, you can just print spaces if you want or some other special character to indicate blanks): H _ _ _ _ _ _ _ _ _ E _ _ _ _ _ _ _ _ _ A _ D _ _ _ I N T _ P R O G R A M _ _ _ _ _ U _ _ _ _ _ _ _ _ _ B _ _ _ M _ _ _ _ _ L _ _ _ A _ _ _ _ _ E _ V O I D _ _ _ _ _ _ _ _ N _ _ _
  • 10. S T A C K _ _ _ _ _ Option 2: Print out the current puzzle grid, but fill empty spaces with random characters: H B G Q W R G X X I E Y U A S L J A W J A X D V A B I N T H P R O G R A M H A A K L U O B M F J L W P M B O M O M V T Q J Z L V D N A Z H D G Y E D V O I D F D X L D M N M N O P A S T A C K U V M J P Continues… Do not actually modify the puzzle grid, just print out random chars instead of _’s
  • 11. Note – your grid should start with all _’s. This is what a partially filled grid should look like. Western Oregon University Page 3 of 5 CS-161 Assignment #8 Option 3: Ask the user for a starting row (1-10), column (1-10) and a word. If the word is too long to fit, print an error message and return to the main menu. Otherwise, place it in the grid going to the right starting from the indicated location. You do not have to worry about overlapping words, if the user tries to place one word on top of another, go ahead and add the word and assume they know what they are doing. Initial State: H _ _ _ _ _ _ _ _ _ E _ _ _ _ _ _ _ _ _ A _ _ _ _ _ _ _ _ _ P _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  • 12. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Sample input 1: Enter row: 3 Enter col: 1 Enter word: ENUM Result (should NOT be automatically printed): H _ _ _ _ _ _ _ _ _ E _ _ _ _ _ _ _ _ _ E N U M _ _ _ _ _ _ P _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
  • 13. _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ Sample input 2: Enter row: 1 Enter col: 5 Enter word: PARAMETER Result: Print “Error, does not fit” “assume the user knows what they are doing” is a bad idea in the real world Western Oregon University Page 4 of 5 CS-161 Assignment #8 Option 4: Ask the user for a starting row (1-10), column (1-10) and a word. This should work just like placing a horizontal word, but should place it going down starting from
  • 14. the indicated location. Once again, if the word is too long to fit, just print an error message and return to the main menu. Also, do not worry about existing words, overwrite anything that is there. Option 5: Ask the user for a starting row (1-10), column (1-10) and a word. Verify if the given word can fit horizontally in the indicated location. To “fit” a word needs to physically fit and all the letters in the word need to not change existing words in the grid. Print either “Fits” or “Does not fit”. Do not actually place the word. Given this starting grid (colors to show areas): H _ _ _ _ _ _ _ _ _ E _ _ _ _ _ _ _ _ _ A _ D _ _ _ I N T _ P R O G R A M _ _ _ _ _ U _ _ _ _ _ _ _ _ _ B _ _ _ M _ _ _ _ _ L _ _ _ A _ _ _ _ _ E _ V O I D _ _ _ _ _ _ _ _ N _ _ _ S T A C K _ _ _ _ _
  • 15. Sample input 1 (Placing “MEMORY” in the green area. It overlaps “MAIN”, but so that the “M”s match): Enter row: 6 Enter col: 5 Enter word: MEMORY Result: Fits Sample input 2 (placing “MEMORY” in the orange area where it overlaps “MAIN” but letters do not match up): Enter row: 9 Enter col: 5 Enter word: MEMORY Result: Does not fit Option 6: Print out how many blank spaces there are in the current puzzle. Given the grid shown in Option 5, your program should print 70. Option 8: The program should end. Ideally, it should just exit normally by finishing main. But you can also use this
  • 16. line to kill the program: exit(0); Western Oregon University Page 5 of 5 CS-161 Assignment #8 Optional challenge: Add an option 7. It should print out the size and location of the largest horizontal opening in each row. If there is a tie, print the first of the larges gaps. For the grid in option 5 you would print: Row Gap Size Start Col 1 9 2 2 9 2 3 3 4 4 3 8 5 7 4 6 3 4 (This ties with the gap at 7) 7 3 4 (Another tie) 8 2 1 (Another tie) 9 6 1 10 5 6 Debugging Tip: Although your grid in the final program should start out with all _ characters, it will probably make it easier to test your program if you start it with some data. Use
  • 17. something like this to initialize your 2D array while testing: { {"H","_","_","_","_","_","_","_","_","_"}, {"E","_","_","_","_","_","_","_","_","_"}, {"A","_","D","_","_","_","I","N","T","_"}, {"P","R","O","G","R","A","M","_","_","_"}, {"_","_","U","_","_","_","_","_","_","_"}, {"_","_","B","_","_","_","M","_","_","_"}, {"_","_","L","_","_","_","A","_","_","_"}, {"_","_","E","_","V","O","I","D","_","_"}, {"_","_","_","_","_","_","N","_","_","_"}, {"S","T","A","C","K","_","_","_","_","_"} }; Then when you are done, comment out or delete that code and replace it with something to initialize the grid to a totally empty one. Western Oregon University Page 1 of 1 CS-161 Lab #5 General Submit this lab using the Moodle system by the beginning of lab on the due date. solution. It MUST be named exactly as specified in each problem. Do not attach any other files.
  • 18. mment at the top (see assignment 1). not ask for extra input. If a program says something like “ask the user for their name and the number of hours they worked” you MUST read in the name first, then the number of hours and not prompt for any other input. formatting, confusing variable names, unnecessarily complex code, etc… will all result in deductions to your score. Assignment Instructions Filename : assign5.cpp (This is the file name you MUST use for the file you submit for this problem.) Write a program that extracts information from a text file containing information about images on a website. Your program should read from a file called Images.txt which will consist of an unknown number of lines. Each line consists of an image URL (web address), an MD5 hash identifying the image, and a file size in bytes. Here is what a line might look like: http://smugmug.com/thumbs/Lacus.jpeg?170x330 44cf8edbd53cf75be874604b39a7694c 21990 Note that the URL consists of “http://smugmug.com/thumbs/” followed by a filename (“Lacus.jpeg”) including extension, then a question mark and the width (170)
  • 19. and height (330) of the image. A sample data file is provided below this assignment link named Images.txt Note that this file has 5 lines, but when I test your program I will not use this exact file. You cannot count on there always being exactly 5 images. The file will end with an empty line (like the sample file). Make sure to test your program with more/less lines than 5. Your program should print out an organized table that for each image shows: the filename, image type (the file extension), the width, the height and the size in kB (1024 bytes in a kB) rounded to one decimal place. It should then display the total size in kB of the images. Something like: Name Type Width Height Size Lacus.jpeg jpeg 170 330 21.5 Vel.jpeg jpeg 300 220 10.4 ElementumNullam.png png 270 280 58.6 MontesNasceturRidiculus.jpeg jpeg 180 220 101.5 AtLorem.jpeg jpeg 200 240 21.6 Total Size: 213.6 Hints: numbers, but if you do, here is how to do so:
  • 20. string foo = "123"; int x = stoi(foo); //convert string to int string bar = "123.5"; double y = stod(bar); //convert string to double Make sure that you read the right input file name. Capitalization counts! DO NOT USE A HARD CODED PATH to a particular directory like: "C:StuffImages.txt" Your code must open a file that is JUST called " Images.txt" Do not submit the test file, I will use my own. Western Oregon University Page 1 of 3 CS-161 Assignment #6 General Submit this lab using the Moodle system by the beginning of lab on the due date. (see Lab1).
  • 21. all programs in the specified order. Do not ask for extra input. If a program says something like “ask the user for their name and the number of hours they worked” you MUST read in the name first, then the number of hours and not prompt for any other input. formatting, confusing variable names, unnecessarily complex code, etc… will all result in deductions to your score. Concepts Upon completion of this lab the student will be able to write functions to break up a program into reusable blocks. Background The last digit of a credit card number is always chosen to provide a checksum of the other digits. (The scheme used is called the Luhn algorithm: http://en.wikipedia.org/wiki/Luhn_algorithm). If one digit in a credit card is changed, or they are typed in the wrong order, the checksum should detect the data entry mistake. To check a credit card number, you need to: the digits, BUT for every second digit, do the following to the digit
  • 22. o If the number ends up being two digits, add the two digits (i.e. that as the number visible by 10, the number is valid. If not, the number is invalid. Samples: Given the number "79927398713", we would start on the right with the 3 - it would not be doubled, but the 1 would be. Then 7 is not doubled, but 8 is… Digit 7 9 9 2 7 3 9 8 7 1 3 Doubled 18 4 6 16 2 One 9 7 Sum Digits added 7 9 9 4 7 6 9 7 7 2 3 70 Since 70 is divisibly by 10, it is possibly a valid credit card number. Given the number "12345671234567", we would start from the 7 on the right, it is not doubled, but the 6 is. Then 5 is not doubled, but 4 is… Digit 1 2 3 4 5 6 7 1 2 3 4 5 6 7 Doubled 2 6 10 14 4 8 12
  • 23. One 1 5 3 Sum Digits added 2 2 6 4 1 6 5 1 4 3 8 5 3 7 57 Since 57 is not divisibly by 10, it is NOT a possibly valid credit card number. Also, you can use identify the issuer of a credit card with the beginning digit(s): http://en.wikipedia.org/wiki/Luhn_algorithm Western Oregon University Page 2 of 3 CS-161 Assignment #6 Problem : Credit Card Checker Filename : assign6.cpp (This is the file name you MUST use for the file you submit for this problem.) Write a program that reads in a string representing a credit card number. It should then print out if the number is valid and what kind of card it is. Sample runs:
  • 24. Run 1: Enter card number: 79927398713 Valid number, unknown issuer Run 2: Enter card number: 43214321 Not a valid number, Visa Required Functions: You MUST create and use the following functions in your code: Takes in a string as a parameter - prints that to the console, then gets a string of input from the console and returns the input. Turns a char like '3' into the number it represents (3). Behavior is undefined for chars that do not representing digits. er); Processes a number to be doubled according to the rule for a doubled digit in the Luhn algorithm. Double the number and either return this value if the number is still single digits, or return the sum of the digits if it is a double digit number. Calling doubledDigitValue(4) should give 8. Calling doubledDigitValue(8) should give 7. Sums the digits of a credit card number according to the Luhn algorithm. i.e. Calling
  • 25. sumOfDigits("79927398713") should result in 70. (This should make use of charToInt and doubledDigitValue.) Hint: the algorithm is supposed to work from right to left. Start by just printing out the string one char at a time in reverse order. Then worry about actually adding up their values. Don't forget that every second one gets doubled. Returns true/false indicating if a credit card number is potentially a valid number according to Luhn algorithm. (This should use a call to sumOfDigits!) Returns a string representing the type of credit card a number is: Visa, MasterCard, American Express, or Unknown. Each function (other than main) MUST be preceded by a doxygen style comment consisting of at least: @brief @param for each parameter @return (unless void) A program that works but does not use functions will receive 0 pts. Feel free to add more functions, but you must at least create and use the listed ones.
  • 26. Western Oregon University Page 3 of 3 CS-161 Assignment #6 Strategy: You can and should build functions one by one and test them in main. For example, to test getInput you might write in your main function: string card = getInput("Enter card number:"); cout << card << endl; //should be whatever you enter Once you are sure that function is working correctly, you can delete (or comment out) those tests and start working on the next function – testing it as you go. Once they are all written, you can write the "real" main function… it should only take a few lines of code to express. Here is a diagram of how the functions should relate to each other. It shows that main should at some point call isValid and give it a string like "43214368". isValid will do some work with that string and eventually return true or false. As part of doing its work, isValid should call sumOfDigits and pass it the string representing the card number. sumOfDigits will return an int like 45 based on doing the
  • 27. Optional challenge: Break out all your functions other than getInput into a file "CreditFunctions.cpp". Declare them all in a file "CreditFunctions.h" that is included from assign6.cpp. assign6.cpp should now just have the getInput and main functions. Submit all three files. Do NOT worry about solving the "problem" until all your functions are working. You can and should make use of functions to build other functions! Sample parameter/return values are just SAMPLES – do not try to hard code in these values!!!
  • 28. http://smugmug.com/thumbs/Lacus.jpeg?170x330 44cf8edbd53cf75be874604b39a7694c 21990 http://smugmug.com/thumbs/Vel.jpeg?300x220 3a5414349bd34657e58bd0603f6cdf0d 10689 http://smugmug.com/thumbs/ElementumNullam.png?270x280 ae4619f06272cb0b87d1eca49a84698b 59995 http://smugmug.com/thumbs/MontesNasceturRidiculus.jpeg?180 x220 00bb01dc4ea0c7bd929111c8f8511970 103889 http://smugmug.com/thumbs/AtLorem.jpeg?200x240 2042f0e5b7fc38c239b5f4ca447f6574 22108