______ data is what is translated to digital format so it can be stored in a computer.
Draw a flowchart of cellphone that uses the following methods to calculate the billing amount. do not output the number of minutes during which the service is used.
a. regularBill: This method calculates and returns the billing amount for regular
service.
b. premiumBill: This method calculates and returns the billing amount for premium
service.
Draw a flowchart of the smallestIndex, which takes as its parameters an int array and its size and returns the index of the (first occurrence of the) smallest element in the array.
Write a Program: Print a table of stars and zeroes
print a square table of alternating stars and zeroes.
Ask the user to enter a size of the table. The number should be odd. Since the table is square the number of rows and columns will be the same and should be equal to the entered size. The valid range for the size is from 3 to 15, inclusive.
Use a loop to make sure the entered size is odd and within the range. Output a descriptive error message if an invalid size is entered. The error message should indicate if the size is even, or less than the minimum, or larger than the maximum.
Each row in said table should have ‘*’ and ‘0’ symbols separated by a space. Each column of the table should also have alternating ‘*’ and ‘0’ symbols. All corners should have the ‘*’ symbol.
enter an odd size from 3 to 15: 3
* 0 *
0 * 0
* 0 *
1)Explain to Top Management the various program categories that will enable you to operate a database in Oracle. Discuss at least three of these program categories.
2)Identify and briefly explain the five features of PL/SQL that allow the developer to write effective code to manipulate a database.
Using a switch statement, write a program that prompts the user for a numeric code and two operands. The numeric codes of 1, 2, 3, and 4 represents addition, subtraction, multiplication, and division respectively. Before division, your program should check whether the second operand is not zero. If it is, it should display “Division by zero not allowed” to the screen.
Context
The Observer Pattern de nes a one-to-many dependency between objects so that when one object changes state, all of its dependents are noti ed and updated automatically.
Imagine the life of a celebrity who has many fans. Each of these fans wants to be know of what their favorite celebrity has posted recently (images, videos, chats, etc.). So as long as the fan’s interest continues, she/he can follow this celebrity. When the fan loses interest, she/he stops following that celebrity.
Hint: ∼ Fans are observers and celebrity is a subject.
∼ Remember, a celebrity can have more than one follower
Write a function that takes seconds from the user and displays the time in Hours,
minutes and seconds’ format. E.g. if the user enters 3700, the output of the program
should be
1 Hour 1 minute and 40 seconds
Write a function that takes quantity in pounds and convert it into gram and kilogram
Reflect the concept of required argument
1 Pound = 453.59237 Grams
1 Pound = 0.454 kilograms
Write a function that takes two numbers and perform all arithmetic operations.
Function should have default arguments set to 1, 1
● Addition
● Subtraction
● Division
● Multiplication