Write a java program using Javafx to do the following:
1)Draw a circle shape and move forward when user presses the button
2)Draw a rectangle shape and size becomes bigger if user presses on button
Write program using two dimensional arrays that determines the ODD numbers among 10 numbers inputted and prints the list of these ODD numbers.
create a calculator for a complex number by creating a class of complex number with overloading all operators in it.(operators:++,--,+,-,/,*,>>,<<).
Describe at least three additional Python experiments. Show the Python inputs and their outputs, and explain what you learned from the results of each example.
Write program that applies concept of varags method to create function, display() which takes 3 parameters: (1) one parameter named object of String type, (2) one array called atoms, of String type, and (3)variable-length list of parameters named n. Import Scanner class to source file. In the main() function, use tools provided by the Scanner class to take three string literals as inputs one by one. • The first input is the name of a subject (ex: glucose).• The 2nd input is list of atomic symbols (ex: C Cl Na O) • The 3rd input is list of integers (ex: 18 12 5 2).Then, call display() function and pass the 3 inputs as values of parameters of display() function. Upon receiving the values, the display() function must be able to split string literals properly into arrays of String type, except the one passed to object parameter.
Ex
Enter the name of a subject: Sodium carbonate
Enter a list of atomic symbols: Na C O
Enter a list of integers: 2 1 3
The empirical formula of Sodium carbonate is Na2CO3
Create one array “sign” of char type whose elements are 'H', 'D', 'S', and 'C'. Create one variable, n, of int type whose initial value is -1 and other variable named, i, of int type whose initial value is also -1. Create function named, pickCard(), of void type that randomly generate two integers. Limit first random number with range of 0 to 3,then assign randomly generated number to ,i, variable. Limit second random number with range from 1 to 13, then assign the randomly generated number to “n” variable. Then, make sure “pickCard()” function can display one of, sign, array's values according to value assigned to, n, variable. Have pickCard() function display the value assigned to the “i” variable and meet all conditions specified in the following table:
Value of i = 1, Display = A
Value of i = 11, Display = J
Value of i = 12, Display = Q
Value of i = 13, Display = K
Finally, use a while loop to call the “pickCard()” 5 times.
What is the purpose of data storage management?
Select one:
a. Transforms entered data to conform to required data structures.
b. Creates and manage complex structures required for data storage.
c. Creates a security system that enforces user security and data privacy.
d. Stores definitions of the data elements and their relationships (metadata) in a data dictionary which also automatically records structural changes.
A teacher has five students who have taken four tests. The teacher uses the following grading scale to assign a letter grade to a student, based on the average of his or her four test scores. Write a program, Pseudo code and draw a TOE chart and -Flowchart that uses an array of string objects to hold the five student names, an array of one character to hold the five students’ letter grades, and five arrays of doubles to hold each student’s set of test scores and average score. The program should allow the user to enter each student’s name and his or her four test scores. The program should store each student’s information in the arrays [20 points]. It should then calculate and display each student’s average test score [20 points] and a letter grade based on the average [20 points]. Input Validation: Do not accept test scores less than 0 or greater than
create a program using switch statement that can be used to compute for a POS of small school supplies
Rahul has a Dell company's laptop
with 4 GB RAM, 1 TB HDD, 2 GB
Graphics card, Windows 10, and Intel i5
processor. But, now he wants to buy
another laptop from another company
with the same exact configuration. So,
he takes his laptop to the shop and
shows his laptop to the shopkeeper,
and asks him to give him a different
company's laptop with the same
configuration