Uncategorized
Home > Uncategorized (Page 17)
Posted at 02:48h
in
Uncategorized
by admin
You could do the following homework using IDLE
Question 1
Make a variable and assign a number to it (any number you like). Then display your variable using print.
Question 2
Modify your variable, either by replacing the old value with a new value, or by adding something to the old value. Display...
Posted at 16:20h
in
Uncategorized
by admin
Question:
A quadtree is a representation format used to encode images. The fundamental idea behind the quadtree is that any image can be split into four quadrants. Each quadrant may again be split in four sub quadrants, etc. In the quadtree, the image is represented by...
Posted at 16:09h
in
Uncategorized
by admin
Question:
Type and load the HTML page and script below. Enter a three-digit number in the top two fields, and click the Add button. Examine the code, and explain what is wrong with the script. How do you fix the script so that the proper sum...
Posted at 16:02h
in
Uncategorized
by admin
Create a new flask application to make a tip calculator similar to the one mentioned on the website https://www.calculatorsoup.com/calculators/financial/tip-calculator.php.
Make sure to ask for the bill Amount, tip percentage and the number of people to share the bill with. In the final calculation, print the total...
Posted at 16:01h
in
Uncategorized
by admin
Continue with the pygame application. Write code to do the below tasks:
Write code such that when the player hits the enemy, the player should explode (the explode animation should appear at the same position as the player and the player should be removed from...
Posted at 02:13h
in
Uncategorized
by admin
Question:
Use EasyGui to write a program to convert temperatures from Fahrenheit to Celsius. The formula for that is: Celsius = 5 / 9 * (Fahrenheit - 32). Use GUI input and output. You need to create a easygui enterbox to ask Fahrenheit, then use message...
Posted at 18:36h
in
Uncategorized
by admin
You could do the following homework using IDLE
Question 1
Make a variable and assign a number to it (any number you like). Then display your variable using print.
Question 2
Modify your variable, either by replacing the old value with a new value, or by adding something to the old value. Display...
Posted at 18:31h
in
Uncategorized
by admin
Question:
Queues and Priority Queues are data structures which are known to most computer scientists. The Team Queue, however, is not so well known, though it occurs often in everyday life. At lunch time the queue in front of the Mensa is a team queue, for example.
In a team queue...
Posted at 20:55h
in
Uncategorized
by admin
Question 1:
Using the following diagram for reference, draw a diagram of the object model containment hierarchy that the browser would create in its memory for the following HTML.
Write the script reference to the first paragraph element using W3C DOM syntax.
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>Search Form</title>
</head>
<body>
<p id="logoPar"><img...
Posted at 02:24h
in
Uncategorized
by admin
Question:
Write a program to use easygui enterbox that asks for your name, then street, then city, then province, then postal code (all in easygui message boxes). The program should then display a mailing-style full address that looks something like this:
Hint:
Do not forget to import easygui in order to use...