72. Four-digit numerical codes are issued for an ATM. If no integer can be repeated in...
How many different 7-digit phone numbers can you make using the integers 0 thru 9? Assume all numbers can be repeated and used in any position and that order matters. Question options: 1,240,000 604,800 120 7,970,000,000
HTML colours are represented by 6-digit hexadecimal codes. Each digit can take on 1 of 16 values: 0, 1, 2, . . . , A, B, C, D, E, F.(a) How many different colours can be represented? (b) There are three types of pure colours: pure red (represented by xy0000); pure green (represented by 00xy00); pure blue (represented by 0000xy). How many pure colours are possible? (c) Grayscale shades are representedbycodesxyxyxy consisting ofa repeatedpair of digits. Howmany grayscale shades are possible? (d) Some...
HW02#2 Four Projectiles Four projectiles are all shot over level ground. The projectiles are launched at four different angles, 20, 30, 45° and 60° above horizontal. There are four steps for this problem: A. Intuition, B. Computation, C. Validation, and D. Discussion 5° Intuition: In the table, use your intuition (not computations!) to evaluate the greatest "G" and least "L" scenarios for the set of 4 angles below for the following criteria (1) same horizontal range, (2) same maximum height,...
I have to use the following theorems to determine whether or not
it is possible for the given orders to be simple.
Theorem 1: |G|=1 or prime, then it is simple.
Theorem 2: If |G| = (2 times an odd integer), the G is not
simple.
Theorem 3: n is an element of positive integers, n is not prime,
p is prime, and p|n.
If 1 is the only divisor of n that is congruent to 1 (mod p)
then...
Write a structured (procedural) Python program that solves the following spec: Soundex System Coding: Soundex is a system that encodes a word into a letter followed by three numbers that roughly describe how the word sounds. Therefore, similar sounding words have the same four-character code. Use the following set of (slightly modified #4) rules to create a translator from English words to Soundex Code: Retain the first letter of the word. For letters 2 …n, delete any/all occurrences of the...
Please show all work in the space provided for credit. 1.) The function D(h) 10e can be used to find the number of milligrams D of a certain a. How many milligrams will be present after 2 hours? b. When the number of milligrams reaches 1, the drug is to be administered again. drug that is in a patient's bloodstream h hours after the drug has been administered Round your answer to one decimal place. After how many hours will...
1. Moss Co. issued $750,000 of four-year, 12% bonds, with interest payable semiannually, at a market (effective) interest rate of 11%. Determine the present value of the bonds payable, using the present value tables in Exhibit 5 and Exhibit 7. Round to the nearest dollar. $ 2. Selected transactions completed by Canyon Ferry Boating Corporation during the current fiscal year are as follows. Journalize the transactions. 3. ndicate whether each of the following would be added to or deducted from...
Your task is to develop a large hexadecimal integer calculator that works with hexadecimal integers of up to 100 digits (plus a sign). The calculator has a simple user interface, and 10 \variables" (n0, n1, ..., n9) into which hexadecimal integers can be stored. For example a session with your calculator might look like: mac: ./assmt1 > n0=0x2147483647 > n0+0x3 > n0? 0x214748364A > n1=0x1000000000000000000 > n1+n0 > n1? 0x100000000214748364A > n0? 0x214748364A > exit mac: Note: \mac: " is...
Make a program using Java that asks the user to input an integer
"size". That integer makes and prints out an evenly spaced, size by
size 2D array (ex: 7 should make an index of 0-6 for col and rows).
The array must be filled with random positive integers less than
100. Then, using recursion, find a "peak" and print out its number
and location. (A peak is basically a number that is bigger than all
of its "neighbors" (above,...
[15 marks] Suppose that students enrolled in one course are required to take four tests, and each student’s final grade for this course is the average of his/her grades of these four tests. This question asks you to write a program that can be used to compute the lowest final grade, highest final grade and the average final grade. General Requirements: Use a5q1.c as the name of your C source code file. We will use the following command on bluenose...