[solved] – Question 99375

Write a statement that assigns numCoins with numNickels + numDimes. Ex: 5 nickels and 6 dimes results in 11 coins.

Expert Answer


[solved] – Question 99376

Write one statement that declares an integer variable numHouses initialized to 25.

Expert Answer


[solved] – Question 99387

Deploy theory, design principles, tools and methodologies to implement and evaluate human
computer interactions;
Carry out design research to inform development of systems and applications;
Construct and create prototypes of human-computer interactions;
Demonstrate the origins of ideas by correctly citing and referencing sources used in the work.
Smart home objects are technology enabled objects often designed with the aim for people
to change traditional behaviors for example in relation to consumption patterns, to reduce
energy consumption, to improve personal healthcare to name just a few typical use cases
of smart objects.
You have been contracted and commissioned to create a concept and prototype for
connected smart device for an online supermarket that has the potential to alter peoples’
shopping behaviors.

Expert Answer


[solved] – Question 99389

26.Write a program in python to plot a graph for the function y = x2
27.Write a program in python to plot a pie chart on consumption of water in daily life.

Expert Answer


[solved] – Question 99390

make a chatbot based on this sample”What is your first name?
Pascal
What is your last name?
Smith
Hi there, Pascal Smith, nice to meet you!

How old are you?
17
17 is a good age.
You are old enough to drive.

So, Pascal, how are you today?
Happy
You are happy.
That is good to hear.
Tell me more.

I am just happy.
That’s good to hear.

Well, Pascal, it has been nice chatting with you.

Expert Answer


[solved] – Question 99394

Count the number of lines in the file, then generate a random knock-knock joke from the file.

Sample Run

Knock-Knock
Who’s there?
Rabbit

Rabbit
who?
Rabbit up carefully it’s a present!

Expert Answer


[solved] – Question 99397

Write a statement that increases numPeople by 5. Ex: If numPeople is initially 10, the output is: There are 15 people.

Expert Answer


[solved] – Question 99398

Write a statement that assigns finalResult with the sum of num1 and num2, divided by 3. Ex: If num1 is 4 and num2 is 5, finalResult is 3.

Expert Answer


[solved] – Question 99399

A drink costs 2 dollars. A taco costs 4 dollars. Given the number of each, compute total cost and assign totalCost with the result. Ex: 4 drinks and 6 tacos yields totalCost of 32.

Expert Answer


[solved] – Question 99400

Given sphereRadius and piVal, compute the volume of a sphere and assign sphereVolume with the result. Use (4.0 / 3.0) to perform floating-point division, instead of (4 / 3) which performs integer division.

Volume of sphere = (4.0 / 3.0) π r3 (Hint: r3 can be computed using *)

Expert Answer