Week 1 Assignments
.docx
keyboard_arrow_up
School
University of Phoenix *
*We aren’t endorsed by this school
Course
CYB/130
Subject
Computer Science
Date
Apr 28, 2024
Type
docx
Pages
1
Uploaded by DukeCrown8553 on coursehero.com
1.Using a Rectangle Class
https://codehs.com/student/4431729/section/505616/assignment/41654728
2. Using Student Class
https://codehs.com/student/4431729/section/505616/assignment/41654731
3.Coin Flips
https://codehs.com/student/4431729/section/505616/assignment/41654743?filepath=CoinFlips.java
4.Longest Streak
https://codehs.com/student/4431729/section/505616/assignment/41654744?
filepath=LongestStreak.java#
5. How far away is..?
https://codehs.com/student/4431729/section/505616/assignment/41654746
6. To String Flowers
https://codehs.com/student/4431729/section/505616/assignment/41654753
7. Fractions
https://codehs.com/student/4431729/section/505616/assignment/41654758?filepath=Fraction.java
8. Honors Student
https://codehs.com/student/4431729/section/505616/assignment/41654765?filepath=Student.java
9. Distance in Kilometers
https://codehs.com/student/4431729/section/505616/assignment/41654767?
filepath=GeoLocation.java
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Programming Project: Graphical
"Shut the Box" Game
Create a graphical version of the classic "Shut the Box"
game using JavaFX as introduced in our text.
Short Video of rules overview: Board Game Rules:
How to Play Shut the Box Game
"Easy" introduction to Shut the Box (and some
elementary Math applications):
https://www.gamesforyoungminds.com/blog/2017/11/30
/shut-the-box
Your game needs to include:
• Graphic representation of the "Box" and the dice
• Roll the dice
• Allow player to select which number(s) to "shut"
and determine if that move is valid.
o Use GUI for selecting which tiles (numbers)
to shut
o Graphically display status of tiles - open or
shut
• Continue until the player "shuts the box" (closes
all numbers) or can't play (no valid moves left).
• Display the players score at the end - "You Win"
or total of remaining numbers.
arrow_forward
After you have read the required chapters from the text for this unit, visit and read the following website to learn more about Gestalt Psychology.http://en.wikipedia.org/wiki/Gestalt_psychology
Now, consider at least one interface that you use at least several times a week. Think outside of the box - this doesn't have to be your computer - in fact, I would prefer it NOT be - it can be your phone, your television, or some other electronic interface. Describe concisely (no fluff, please!) how at least TWO of the "Laws of Grouping" were applied to the design of the interface that you chose.
arrow_forward
https://learn.zybooks.com/zybook/VALDOSTACS1302MihailSpring2024/chapter/14/section/9
import java.util.Scan X
FREE AI Java Code
zy Section 14.9 - CS 13 X
Search Results | Cou X
G Google
Homepage - Princip X
Georgia Gateway
A
☆
[]
Help/FAQ
= zyBooks My library > CS 1302: Principles of Programming II home > 14.9: LAB: Ticketing service (Queue)
Given main(), complete the program to add people to a queue. The program should read in a list of people's names including "You" (ending
with-1), adding each person to the peopleInQueue queue. Then, remove each person from the queue until "You" is at the head of the queue.
Include print statements as shown in the example below.
Ex: If the input is:
Zadie Smith
Tom Sawyer
You
Louisa Alcott
-1
19°C
Mostly cloudy
the output is:
Welcome to the ticketing service...
You are number 3 in the queue.
Zadie Smith has purchased a ticket.
You are now number 2
Tom Sawyer has purchased a ticket.
You are now number 1
You can now purchase your ticket!…
arrow_forward
burses.projectstem.org/courses/64525/assignments/9460863?module_item_id=18079077
Maps
HH
50
Follow these steps to create your Warhol Grid:
1. Find or create an image (for this activity, a smaller starting image will produce higher quality results in
a shorter amount of time).
2. Using the Python documentation as a guide, create a program that loads the image, filters three
copies of it, and saves the result. Note: You will need to create the three filters using
the filter() method.
• Include multiple filters on at least two of your variants.
One of your variants must apply a single filter multiple times with the use of a loop. For
example, the top right image above uses a loop to blur the image 2 times (what if we did it 100
times?).
U
▪ One of your images must apply at least two different filters to the same image. In the example
image, the bottom right image includes a filter to smooth the image and then edge enhance
them.
L
• Create the Warhol Grid using Python with the three images…
arrow_forward
Smiley.txt:The picket fence had stood for years without any issue. That's all it was. A simple, white, picket fence. Why it had all of a sudden become a lightning rod within the community was still unbelievable to most. Yet a community that had once lived in harmony was now divided in bitter hatred and it had everything to do with the white picket fence.
She had a terrible habit o comparing her life to others. She realized that their life experiences were completely different than her own and that she saw only what they wanted her to see, but that didn't matter. She still compared herself and yearned for what she thought they had and she didn't.
arrow_forward
Blue-Eyed Island: A bunch of people are living on an island, when a visitor comes with a strangeorder: all blue-eyed people must leave the island as soon as possible. There will be a flight out at8:00pm every evening. Each person can see everyone else's eye color, but they do not know theirown (nor is anyone allowed to tell them). Additionally, they do not know how many people haveblue eyes, although they do know that at least one person does. How many days will it take theblue-eyed people to leave?
arrow_forward
The Problems - contains only problems from the last 2 contests
Separate Un-Attempted, Attempted and All cards Problem Difficulty Rating - The
Featured drop-down menu has different difficulty ranges so you can try problems that
best suit your experience.
Popular topics and brands Like most users, Chef didn't know that he could add
problems to his personal to-do list by clicking the magic "+" symbol in the upper
right corner of each problem page. But once he found out about it, he went crazy and
added a lot of problems to his to-do list without looking at their difficulty rating.
Rajesh is a beginner and ideally should only try to solve problems strictly below
10001000. Given the difficulty rating list of problems in Chef's to-do list, please help
him determine how many of these problems Chef should remove from his to-do list
so he is left with only problems with a difficulty rating of less than 10001000.
Note: Please answer the question in Python only:
Input
1
4
999 1000 1001 1002…
arrow_forward
A testnavclient.psonsvc.net/#/question/2896870d-7203-41a3-a0c3-e2d6bace85a5/34c0be18-53a8-4234-b085-4759c8.
Review -
A Bookmark
Quiz 6P1.3 Sound Waves (COPY) / 8 of 13
Which choice best identifies media through which sound can travel?
A. vacuums and liquids
B. solids and outer space
C. gases and outer space
D. solids and liquids
X
arrow_forward
Description: There are 5 philosophers sitting around a table and try to eat from the center of the table. 5 chopsticks also lay on the table. Let us call the 5 philosophers in clockwise P1, P2, ...P5. There also 5 chopsticks clockwise S1, S2, ..., S5 on the table. There are only one chopstick between every two philosophers. Every right hand chopstick will have the same index as the philosopher. For example, on the right hand side of P1, the chopstick is called S1. And every left hand side chopstick number is 1+number of the philosopher.
A philosopher spend random time to think, then he feel hungry and try to eat.
The middle dish can provide enough food for everyone at the same time.
But a philosopher only can start to eat when he picked up two chopsticks from left hand side and right hand side to form a pair of chopsticks.
If a philosopher take one chopsticks, he will try to fight with neighbours to get another one, and never back off to put down the one in his hand.
Once the…
arrow_forward
the babynames.txt:1 Michael 663322 0.0 Jessica 469368 0.02 Christopher 554622 0.0 Jennifer 440774 0.03 Matthew 458723 0.0 Amanda 369646 0.04 Joshua 396431 0.0 Ashley 352093 0.05 David 383426 0.0 Sarah 272470 0.06 James 356238 0.0 Stephanie 218084 0.07 Daniel 345284 0.0 Melissa 217868 0.08 Robert 321498 0.0 Nicole 210417 0.09 John 320905 0.0 Elizabeth 198889 0.010 Joseph 299243 0.0 Heather 191814 0.011 Jason 291919 0.0 Tiffany 158582 0.012 Justin 289704 0.0 Michelle 153954 0.013 Andrew 284916 0.0 Amber 153907 0.014 Ryan 278765 0.0 Megan 153470 0.015 William 248150 0.0 Amy 150626 0.016 Brian 233884 0.0 Rachel 146632 0.017 Brandon 232099 0.0 Kimberly 146426 0.018 Jonathan 229812 0.0 Christina 145955 0.019 Nicholas 223197 0.0 Lauren 145093 0.020 Anthony 211723 0.0 Crystal 140984 0.021 Eric 204115 0.0 Brittany 140814 0.022 Adam 194962 0.0 Rebecca 136195 0.023 Kevin 188558 0.0 Laura 134533 0.024 Thomas 177651 0.0 Danielle 134337 0.025 Steven 177345 0.0 Emily 131717 0.026 Timothy 172767 0.0…
arrow_forward
Mathematical equations can't be
solved in PowerPoint, but some math
equations can be solved in
. PowerPoint
محو التحديد
True O
False O
In order to open the first slides in
PowerPoint, we click on (Insert + click
to add first slide)
محو التحديد
TRUE O
False O
arrow_forward
The college ground is rectangular in shape. The Management decides to build a fence around the ground. In order to help the construction workers to build a straight fence, they planned to place a thick rope around the ground. They wanted to buy only the exact length of the rope that is needed. They also wanted to cover the entire ground with a thick carpet during rainy season. They wanted to buy only the exact quantity of carpet that is needed. They requested your help.
Help them by writing a C program to find the exact length of the rope and the exact quantity of carper that is required?
Input Format:
Input consists of 2 integers. The first integer corresponds to the length of the ground and the second integer corresponds to the breadth of the ground.
Output Format:
Refer Sample Input and Output for exact formatting specifications.
Sample Input and Output:
[All text in bold corresponds to input and the rest corresponds to output]
Length:
50
Width:
20
Required length is 140m
Required…
arrow_forward
Building Additional Pages
In this lab we will start to build out the Learning Log project. We’ll build two pages that display data: a page that lists all topics and a page that shows all the entries for a particular topic. For each of these pages, we’ll specify a URL pattern, write a view function, and write a template. But before we do this, we’ll create a base template that all templates in the project can inherit from.
arrow_forward
CLASS
OF
2019
Welcome MySAIL Oakland Un X
Th Course: CSI-1420-43702.201940 X
https://moodle.oakland.edu/plug X
DG Difference between two given tin X
F C
moodle.oakland.edu/pluginfile.php/5600130/mod assign/intro/Homework02.txt?time-1570288894866
Program 3
Program: mitime.c
Executable: mitime.o
Write a program that reads two times in military format (e.g. 0900, 1730), and prints the number of hours and minutes between the two times.
Assume that the hours and minutes of the second time are greater than the first time.
See an example below. User input is underlined (your program does not have to underline the user input).
Please enter the first time: 0900
Please enter the second time: 1730
8 hours 30 minutes
arrow_forward
Hands-On Exercises #7 Superglobals $_GET and $_POST Source: Source: Connolly, R. and Hoar, R., (2018), Fundamentals of Web Development
Before you do the exercises
If you haven’t already done so, you should create a folder in your personal drive for all the exercises. This set of exercises requires a functioning webserver to interpret the PHP code.
Exercise 7-1 Checking for POST
1. 2.
Test lab7‐exercise7-1.php in a browser and notice that it contains a simple one field form that posts the results back to itself.
The first thing to do is detect whether the page was reached through a get (a link followed) or whether the page was arrived by the form being posted.
Edit the displayPostStatus() function as follows and test.
function displayPostStatus() {
if ($_SERVER["REQUEST_METHOD"] == "POST") { echo "Post detected";
} else {
echo "No Post Detected";
}
}
Now when you post the form you see the post detected, and when you enter the URL and hit enter (GET) it does not see the POST.
Next, let…
arrow_forward
JAVA
A popular technique used with GUI programs is a programming design called Model-View-Controller. This is a programming technique where you split your program up into three distinct portions - the model, view, and controller - and have each portion handle a single, separate function of the program. Model-View-Controller is not built in to any programming language, but is rather a method programmers use when designing their programs.
The model handles the program's data. Whether it is a series of variables, some files, or a database, the model is responsible for managing and retrieving the data. The view, controller, and user never see or interact with the data directly; it all goes through the model.
The view handles the presentation of the data. This would be the GUI design in a graphical program. The view does not retrieve the data, handle errors with the data, or manage user requests. The view's only purpose is to construct the visuals for whatever data is passed to it,…
arrow_forward
Code it.
arrow_forward
Write short answer on the following parts of the question.
PLEASE REFER TO THE IMAGES BELOW FOR PARTS OF THE QUESTION, THERE ARE 25 PARTS TO THE QUESTION! YOU HAVE TO PROVIDE SHORT ANSWERS!
arrow_forward
Lah Sevie 10-Relin
()-Mi Wd
References
Mailings
Review
Page Layout
AaBbCcDx AaRbCcDxAaBbC AaBbCct
Heading 2
TNormal
TNo Spaci Heading 1
Styles
Font
Paragraph
Exercises
L A class called Book is designed (as shown in the class diagram) to model a book written by one
author
Write the Author class (which includes 3 instance variables: name (String), email (String),
gender(char)).
It contains
Four private instance variables: name (String), author (of the class Author you have just
created, assume that a book has one and only one author), price (double), and qty (int)
Two constructors:
o public Book (String name, Author author, double price){-}
o public Book (String name, Author author, double price, int qty) { .}
• public methods getName(), getAuthor(),. getPrice), getQtv() to print all information.
Write the Book class (which uses the Author class written earlier). Also write a test driver called
TestBook to test all the public methods in the class Book
2. Given the following
Animal
Name…
arrow_forward
Cin
Home
Brightness
Contrast
Recolor
Insert Page Layout
Compress Pictures
Change Picture
Reset Picture
Adjust
=
Page: 2 of 4 Words: 39
HH
Type here to search
SAD Chapter quiz 1 - Microsoft Word
References Mailings
O
Review
View
Picture Tools
Format
Picture Styles
3. The traditional approach includes three techniques: structured analysis, structured design, and
structured programming. These techniques are sometimes called
a. Object-Oriented Analysis and Design Techniques
b. Structured Analysis and Design Techniques
c. Modern Analysis and Design Techniques
d. Systems Analysis and Design Techniques
4. Which of the following are the two main principles of structured design?
a. Loosely coupling and highly cohesion
b. Loosely cohesive and highly coupled
c. Loosely coupled and highly cohesive
d. None of the above
5. Which of the following object-oriented techniques defines all of the types of objects that
performs the work in the system and shows what user interactions are required to…
arrow_forward
add tags for these feature files with --tags option:
When you select scenarios by one tag
When you select scenarios that have one or another tag
When you select scenarios that have 2 tags
When you disable scenarios that have a specific tag
Given Scenarios:
Feature: Login functionalityBackground:Given a web browser is at the BrainBucket login pageScenario: user can't login without entering emailGiven User is not logged inWhen Password is enteredAnd User click Login buttonThen 'Warning: No match for E-Mail Address and/or Password' will be shownScenario: user can recover his passwordGiven User is not logged inWhen User clicks 'Forgotten Password' buttonAnd enters his emailThen Message 'An email with a confirmation link has been sent your email address.' will be dispalyed
arrow_forward
Computer Science
Objective:To add scripting to the existing web page and work with JavaScript Es-6 features like class, object , getter methods and collection.
Problem Description:As part of a simple billing application, you are provided with an html page to obtain inputs for item number, item name, price & quantity. Using the ES-6 collections, add every item object into a Set and iterate through it to find the total cost to be paid. On adding each item object into Set, it must also get added to the table as a new record. Refer to the screenshot.
Following are the files that contain code snippets
index.html
HTML for webpage (complete implementation is given for you). You only have to run this. No change needs to be done in this file.
script.js
Add your code to this file for the functions given.
Procedure to complete the exercise
Class
Properties
Methods
Item
itemNumberitemNamepricequantity
Include constructor with properties and getter methods for…
arrow_forward
JAVA PROGRAMMING OBJECT-ORIENTED
PROGRAMMING
Create a model of a scene of your choosing by making use of the composite pattern. It may be
a scene from a photograph, or it could be from a simulator, or it could be from a movie, or it
could be from a video game, etc.
arrow_forward
XML Programming
Write a style sheet that accepts two currency codes and an amount as parameters and outputs the appropriate converted values using a simulated Web service that is actually a hard- coded XML document (or write a Web service if you’re feeling adventurous).
arrow_forward
pic for input and output
pic link: fname = "https://runestone.academy/runestone/static/instructorguide/_static/arch.jpg
arrow_forward
CareerFair.py
Sub
1 my_gpa - 3.6
2 my_major - "Computer Science"
3 my_interest -
4 company_gpa_req - 3.5
5 company_major_recruiting
6 company_interest = "Software"
"Software"
"Computer Science"
8 #You may modify the lines of code above, but don't move them!
9 #When you Submit your code, we'll change these lines to
10 #assign different values to the variables.
11
12 #It's career fair season and you are in the middle of applying
13 #to all of these different companies for a potential internship
14 #next summer, but you plan on only applying to companies that
15 #you are interested in and companies whose requirements you meet.
16 #
17 #You'll only apply to the company if your GPA either matches or
18 #is greater than the company's required GPA. Even then you'll
19 #only apply to them if the major they are recruiting is your
20 #major. However if you are not the major they are recruiting,
21 #you'll still apply to them if your interest matches the interest
22 #the company is advertising.…
arrow_forward
1 Rearrange the following steps in chronological order by numbering them from 1 to the last
number of the steps. Write X if the step does not belong. Write your answer on the space
A. Setting up a free blog using WordPress
Click on Change Your Blog Description or Permissions
Create a free WordPress account
Choose a free theme then click Customize
Edit the page theme to your liking
Delete other existing blog
Choose the option Create a New Blog or Register Another Blog
Pick a blog address and name
Change the general settings including the site title, tagline, and the zone
On the left menu, choose Appearance > Themes
B. Posting using WordPress
Choose Format > Clear Formatting
On vour dashboard. go to Posts > Add New
31 C Mostly cl.. O
arrow_forward
Implement the picture below in net beans as a JApplet and JFram application.
Y=0
Y=50
X=0
Y=0100
Y=150
Y=200
Y=250
X=50
X=100
--
Exercise 1
X=150
X=200
X=250
X=300
X=350
arrow_forward
So, one of these statements is correct? It is impossible to display on a single map several layers (data) using different coordinate systems. For GIS purposes, it is allowed for data to include several coordinate systems. A map may display several different layers of data, each with its own set of coordinates. A map's layers may not align correctly if you use several coordinate systems to display them. Those things are not included
arrow_forward
Please check the image for the question and please provide explanation and comments :
an example run:Robot Travelling
Trav: 0
Rand: L1
Trav: -1
Rand: R3
Trav: 2
Rand: L1
Trav: 1
Rand: D4
Trav: 1
Rand: R8
Trav: 9
Rand: U3
Trav: 9
Rand: L3
Trav: 6
Rand: U1
Trav: 6
Rand: R6
Trav: 12
Rand: D1
Trav: 12
Rand: L2
Trav: 10
Rand: R8
Trav: 18
Done—robot has crossed the right line!
arrow_forward
Using C# (Sharp) with Visual studio:
Make a class of Book with 5 properties - ISBN, author, title, publisher, copyright date
In the main method, create 5 instances of the Book class with different data for each
Create a LIST and add each of the 5 objects to the LIST
Use a foreach loop to display the ISBN, author, title, publisher, and copyright date in the LIST
Create a DICTIONARY and add each of the 5 objects (key should be ISBN)
Display author, title, publisher, copyright date for each book
Create a SEARCH feature: ask the user to type in an ISBN. If the entry matches an item in your dictionary, display the author, title, publisher, and copyright date. If there are no matches, display "ISBN not found". Hint: use ContainsKey
Create a REMOVE feature: ask the user to type in an ISBN to remove a book from the list. If the entry matches an item in your dictionary, remove the item and re-display your list. If there are no matches, display "ISBN not found".
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education
Related Questions
- Programming Project: Graphical "Shut the Box" Game Create a graphical version of the classic "Shut the Box" game using JavaFX as introduced in our text. Short Video of rules overview: Board Game Rules: How to Play Shut the Box Game "Easy" introduction to Shut the Box (and some elementary Math applications): https://www.gamesforyoungminds.com/blog/2017/11/30 /shut-the-box Your game needs to include: • Graphic representation of the "Box" and the dice • Roll the dice • Allow player to select which number(s) to "shut" and determine if that move is valid. o Use GUI for selecting which tiles (numbers) to shut o Graphically display status of tiles - open or shut • Continue until the player "shuts the box" (closes all numbers) or can't play (no valid moves left). • Display the players score at the end - "You Win" or total of remaining numbers.arrow_forwardAfter you have read the required chapters from the text for this unit, visit and read the following website to learn more about Gestalt Psychology.http://en.wikipedia.org/wiki/Gestalt_psychology Now, consider at least one interface that you use at least several times a week. Think outside of the box - this doesn't have to be your computer - in fact, I would prefer it NOT be - it can be your phone, your television, or some other electronic interface. Describe concisely (no fluff, please!) how at least TWO of the "Laws of Grouping" were applied to the design of the interface that you chose.arrow_forwardhttps://learn.zybooks.com/zybook/VALDOSTACS1302MihailSpring2024/chapter/14/section/9 import java.util.Scan X FREE AI Java Code zy Section 14.9 - CS 13 X Search Results | Cou X G Google Homepage - Princip X Georgia Gateway A ☆ [] Help/FAQ = zyBooks My library > CS 1302: Principles of Programming II home > 14.9: LAB: Ticketing service (Queue) Given main(), complete the program to add people to a queue. The program should read in a list of people's names including "You" (ending with-1), adding each person to the peopleInQueue queue. Then, remove each person from the queue until "You" is at the head of the queue. Include print statements as shown in the example below. Ex: If the input is: Zadie Smith Tom Sawyer You Louisa Alcott -1 19°C Mostly cloudy the output is: Welcome to the ticketing service... You are number 3 in the queue. Zadie Smith has purchased a ticket. You are now number 2 Tom Sawyer has purchased a ticket. You are now number 1 You can now purchase your ticket!…arrow_forward
- burses.projectstem.org/courses/64525/assignments/9460863?module_item_id=18079077 Maps HH 50 Follow these steps to create your Warhol Grid: 1. Find or create an image (for this activity, a smaller starting image will produce higher quality results in a shorter amount of time). 2. Using the Python documentation as a guide, create a program that loads the image, filters three copies of it, and saves the result. Note: You will need to create the three filters using the filter() method. • Include multiple filters on at least two of your variants. One of your variants must apply a single filter multiple times with the use of a loop. For example, the top right image above uses a loop to blur the image 2 times (what if we did it 100 times?). U ▪ One of your images must apply at least two different filters to the same image. In the example image, the bottom right image includes a filter to smooth the image and then edge enhance them. L • Create the Warhol Grid using Python with the three images…arrow_forwardSmiley.txt:The picket fence had stood for years without any issue. That's all it was. A simple, white, picket fence. Why it had all of a sudden become a lightning rod within the community was still unbelievable to most. Yet a community that had once lived in harmony was now divided in bitter hatred and it had everything to do with the white picket fence. She had a terrible habit o comparing her life to others. She realized that their life experiences were completely different than her own and that she saw only what they wanted her to see, but that didn't matter. She still compared herself and yearned for what she thought they had and she didn't.arrow_forwardBlue-Eyed Island: A bunch of people are living on an island, when a visitor comes with a strangeorder: all blue-eyed people must leave the island as soon as possible. There will be a flight out at8:00pm every evening. Each person can see everyone else's eye color, but they do not know theirown (nor is anyone allowed to tell them). Additionally, they do not know how many people haveblue eyes, although they do know that at least one person does. How many days will it take theblue-eyed people to leave?arrow_forward
- The Problems - contains only problems from the last 2 contests Separate Un-Attempted, Attempted and All cards Problem Difficulty Rating - The Featured drop-down menu has different difficulty ranges so you can try problems that best suit your experience. Popular topics and brands Like most users, Chef didn't know that he could add problems to his personal to-do list by clicking the magic "+" symbol in the upper right corner of each problem page. But once he found out about it, he went crazy and added a lot of problems to his to-do list without looking at their difficulty rating. Rajesh is a beginner and ideally should only try to solve problems strictly below 10001000. Given the difficulty rating list of problems in Chef's to-do list, please help him determine how many of these problems Chef should remove from his to-do list so he is left with only problems with a difficulty rating of less than 10001000. Note: Please answer the question in Python only: Input 1 4 999 1000 1001 1002…arrow_forwardA testnavclient.psonsvc.net/#/question/2896870d-7203-41a3-a0c3-e2d6bace85a5/34c0be18-53a8-4234-b085-4759c8. Review - A Bookmark Quiz 6P1.3 Sound Waves (COPY) / 8 of 13 Which choice best identifies media through which sound can travel? A. vacuums and liquids B. solids and outer space C. gases and outer space D. solids and liquids Xarrow_forwardDescription: There are 5 philosophers sitting around a table and try to eat from the center of the table. 5 chopsticks also lay on the table. Let us call the 5 philosophers in clockwise P1, P2, ...P5. There also 5 chopsticks clockwise S1, S2, ..., S5 on the table. There are only one chopstick between every two philosophers. Every right hand chopstick will have the same index as the philosopher. For example, on the right hand side of P1, the chopstick is called S1. And every left hand side chopstick number is 1+number of the philosopher. A philosopher spend random time to think, then he feel hungry and try to eat. The middle dish can provide enough food for everyone at the same time. But a philosopher only can start to eat when he picked up two chopsticks from left hand side and right hand side to form a pair of chopsticks. If a philosopher take one chopsticks, he will try to fight with neighbours to get another one, and never back off to put down the one in his hand. Once the…arrow_forward
- the babynames.txt:1 Michael 663322 0.0 Jessica 469368 0.02 Christopher 554622 0.0 Jennifer 440774 0.03 Matthew 458723 0.0 Amanda 369646 0.04 Joshua 396431 0.0 Ashley 352093 0.05 David 383426 0.0 Sarah 272470 0.06 James 356238 0.0 Stephanie 218084 0.07 Daniel 345284 0.0 Melissa 217868 0.08 Robert 321498 0.0 Nicole 210417 0.09 John 320905 0.0 Elizabeth 198889 0.010 Joseph 299243 0.0 Heather 191814 0.011 Jason 291919 0.0 Tiffany 158582 0.012 Justin 289704 0.0 Michelle 153954 0.013 Andrew 284916 0.0 Amber 153907 0.014 Ryan 278765 0.0 Megan 153470 0.015 William 248150 0.0 Amy 150626 0.016 Brian 233884 0.0 Rachel 146632 0.017 Brandon 232099 0.0 Kimberly 146426 0.018 Jonathan 229812 0.0 Christina 145955 0.019 Nicholas 223197 0.0 Lauren 145093 0.020 Anthony 211723 0.0 Crystal 140984 0.021 Eric 204115 0.0 Brittany 140814 0.022 Adam 194962 0.0 Rebecca 136195 0.023 Kevin 188558 0.0 Laura 134533 0.024 Thomas 177651 0.0 Danielle 134337 0.025 Steven 177345 0.0 Emily 131717 0.026 Timothy 172767 0.0…arrow_forwardMathematical equations can't be solved in PowerPoint, but some math equations can be solved in . PowerPoint محو التحديد True O False O In order to open the first slides in PowerPoint, we click on (Insert + click to add first slide) محو التحديد TRUE O False Oarrow_forwardThe college ground is rectangular in shape. The Management decides to build a fence around the ground. In order to help the construction workers to build a straight fence, they planned to place a thick rope around the ground. They wanted to buy only the exact length of the rope that is needed. They also wanted to cover the entire ground with a thick carpet during rainy season. They wanted to buy only the exact quantity of carpet that is needed. They requested your help. Help them by writing a C program to find the exact length of the rope and the exact quantity of carper that is required? Input Format: Input consists of 2 integers. The first integer corresponds to the length of the ground and the second integer corresponds to the breadth of the ground. Output Format: Refer Sample Input and Output for exact formatting specifications. Sample Input and Output: [All text in bold corresponds to input and the rest corresponds to output] Length: 50 Width: 20 Required length is 140m Required…arrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education
Database System Concepts
Computer Science
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:McGraw-Hill Education
Starting Out with Python (4th Edition)
Computer Science
ISBN:9780134444321
Author:Tony Gaddis
Publisher:PEARSON
Digital Fundamentals (11th Edition)
Computer Science
ISBN:9780132737968
Author:Thomas L. Floyd
Publisher:PEARSON
C How to Program (8th Edition)
Computer Science
ISBN:9780133976892
Author:Paul J. Deitel, Harvey Deitel
Publisher:PEARSON
Database Systems: Design, Implementation, & Manag...
Computer Science
ISBN:9781337627900
Author:Carlos Coronel, Steven Morris
Publisher:Cengage Learning
Programmable Logic Controllers
Computer Science
ISBN:9780073373843
Author:Frank D. Petruzella
Publisher:McGraw-Hill Education