The function used to display information on the screen is_______________
Q: Instructions: Create a program that takes the length and breadth of a rectangle as input and outputs…
A: import java.util.Scanner; public class Rectangle { public static void main(String []args){ //…
Q: C's input/output functions are described in detail.
A: This is the solution for your question
Q: 5. Display like the figure where the value of the number is an input value. (In this example, the…
A: JAVA Program: import java.util.Scanner; public class Pattern0X{ private static Scanner sc; public…
Q: java ------------------- Write a calculator program which shows the user a menu to select from :…
A: Given: java ------------------- Write a calculator program which shows the user a menu to select…
Q: The following program moves a robot in a grid of squares. The initial position and direction of the…
A: Given that, the initial value of i is 3. The loop repeat 3 times for the values i=3, i=2 and i=1.…
Q: Python exercice. consider the atttached file for further details. Old-fashioned photographs from…
A: Old-fashioned photographs from the nineteenth century are not quite black and white and not quite…
Q: A slot machine is a gambling device that the user inserts money into and then pulls a lever (or…
A: Program: import java.util.Random;import java.util.Scanner;public class Main {public static void…
Q: Sample Output: Find Size of fundamental data types : ------------------------------------------ The…
A: To print the given output, use cout function to print the strings directly, but for the numbers in…
Q: In a computer, pressing and releasing the left mouse button quickly is called a. clicking b.…
A: in a computer, pressing and releasing the left mouse button quickly is called a. clicking b.…
Q: You are making a currency converter app. Create a function called convert, which takes two…
A: Solution: C++ code: #include<iostream>using namespace std; float convert(float amount,…
Q: Graphics: Write a program that behaves like the video below. New commands needed: StdDraw.pause( )…
A: Code for give program that behaves like the video below...
Q: Using visual studio 2019 with a C# program create a WCF service to compute the distance between two…
A: Find a code that does that below.
Q: In class we learned about the components of a computer • main memory - the CPU secondary memory M…
A: Main memory holds instructions and data when a program is executing, while auxiliary memory holds…
Q: By using Microsoft Visual Basic design a calculator as shown below ,and write a code in four option…
A: Given: By using Visual Basic design basic calculator with addition , subtraction, multiplication,…
Q: Design a scientific calculator in C++. Display the main menu to the user and according to his choice…
A: Algorithm: Start ask the user to Press 1 for Arithmetic Operations and Press 2 for Trigonometric…
Q: Write a program that will take in basic information from a student, including student name, degree…
A: Answer :
Q: C++ Pizza Pi Joe’s Pizza Palace needs a program to calculate the number of slices a pizza of any…
A: C++ Pizza Pi Joe’s Pizza Palace needs a program to calculate the number of slices a pizza of any…
Q: The following program moves a robot in a grid of squares. The initial position and direction of the…
A: In the given diagram, the robot is facing to left. In the given program, the initial value of i is…
Q: Visual Studio, show the steps required to implement the following simple MPI program: e-books…
A: MPI is a directory of C++ programs which illustrate the use of the Message Passing Interface for…
Q: C++ Visual 2019 Last month Joe purchased some stock in Acme Software, Inc. Here are the details…
A: C++ Visual 2019 Last month Joe purchased some stock in Acme Software, Inc. Here are the details of…
Q: Write five examples of bad codes, and then write good codes which will fix the bad codes you…
A: 1. Use Temporary Variables of the Elementary Type in a Function Parameters and temporary variables…
Q: Write program c++ of computer Graphics 1.create blank Windows 2.change the windows name to yours…
A: Here, I have to write C++ code for the above question.
Q: The screen size of a TV is given by the length of the rectangular diagonal. Traditional TVs come in…
A: /* Traditional TV area: Diagonal = sqrt(length^2 + width^2)…
Q: The following program moves a robot in a grid of squares. The initial position and direction of the…
A: Here in this program the robot moves to the spicific direction according to the directions mentioned…
Q: Input Prompts Output (Turtle canvas) Enter number of cells in board: 2 Enter the width of each cell:…
A: PROGRAM CODE: # import turtule package import turtle # taking inputs from user no_of_cells =…
Q: The is the portion of a computer that runs programs.
A: Given that: The is the portion of a computer that runs programs.
Q: Title Bar in AutoCAD contains Program icon + program name + current file name O .only .Program name…
A: Title bar in autocad contains select which option is correct
Q: Use any flowchart software or website in order to create the flowchart for the following pseudocode:…
A: According to the question, we have to draw a flowchart for the given pseudocode program. In step 2,…
Q: The keyboard has "special function" keys. List each of these keys with its "function" explained next…
A: 1) The function keys on a computer keyboard, labeled F1 through F12, are keys with a special…
Q: (n) tools allow you to create and modify vector graphics. O a. Drawing O b. Image O . Picture • d.…
A: Required: ____ tools allow you to create and modify vector graphics.
Q: Computer Science Code a Binomial Expansion Calculator in Visual Studio using Windows Forms.app…
A: Code: Public Class Form1 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles…
Q: Create a program wherein this will be the first screen Basic Calculator [A] Addition [B] Subtraction…
A: Note: Programming language not mentioned in the question. C++ is chosen as a programming language…
Q: Draw your Flowchart using Flowgorithm for the following pseudocode MODULE main() DECLARE…
A: NOTE Below is the program for the given question. Hope you understand it well. If you have any…
Q: Dark gen and dark blue are considered as colors. Jassive rtmay active Supplementary
A: The question is to choose the correct option from the given four options.
Q: AVA programming) obtain numbers from file which its name is in textfield1. when pressing…
A: Solution:- Code given Below
Q: c++ my code is attached, along with an image of what problem i am experiencing. I know the code…
A: Given: c++ my code is attached, along with an image of what problem i am experiencing. I know the…
Q: Combine your Game1 program (the guessing game) with the graphics program I posted. Your "windows"…
A: import randomfrom graphics import *def main(): win = GraphWin("GameWin Program", 300, 300)…
Q: In a statement: Scanner keyboard = new Scanner (System.in); it reads user input by means of a…
A: According to the information given:- We have to find the correct output to satisfy the code.
Q: The following program moves a robot in a grid of squares. The initial position and direction of the…
A: Initially i=3 Repetition1: MOVE_FORWARD() The position of robot after moving forward: ROTATE_LEFT()…
Q: Please include your result in your code. Create a Calculator program. The operations included in…
A: The above question is solved in step 2 :-
Q: 1. Draw the following exercise using Lucidchart then, screen shot the output. 2. The image must be…
A: The given diagram represents the code printing "Hello world!". We need to draw flowchart using…
Q: create a program that asks user giving you the first_name, last_name and the middle initial. Your…
A: According to given information :- We have to take input from user there First last and middle name…
Q: Module main() // Local variables Declare Integer feet // Get feet Call getFeet(feet) //…
A: A flowchart is a picture of the separate steps of a process in sequential order. It is a generic…
Q: 2nd and 5th buttons must press together than should release firstly 5th button then 2nd button After…
A: Given The answer is given below.
Q: Input Prompts Output (Turtle canvas) Enter number of cells in board: 2 Enter the width of each cell:…
A: we use python3 ---------------------------------------------------------------------------- import…
Q: In python Create a class Right triangle to compute its area and perimeter in class then self input…
A: We first input a,b,c (3 sides of triangle) and using formula p=(a+b+c) we calculate perimeter of…
Q: A console (text-based) program that allows the user (when asked) to enter these three pieces of…
A: Here we have written the code in java as per your requirement. you can find the program in step 2.
Q: Constant Real CALORIES_PER_MINUTE = 3.9 // main module Module main() // Local variables…
A: It is defined as an interpreted, object-oriented, high-level programming language with dynamic…
Q: Build a calculator using Tinkercad. It should have 3 7-segment displays and a number pad. The system…
A: Programming is instructing a computer to do something for you with the help of a programming…
The function used to display information on the screen is_______________
Step by step
Solved in 2 steps
- Create your own scientific calculator that will convert the inputted numbers to the four number representations ( Decimal, Binary, Octal, Hexadecimal ). Your program should output the following menu on screen.MAIN MENU:Please type the number of your choice:1 – Binary to Decimal2 – Decimal to Octal3 – Octal to Hexadecimal4 – Hexadecimal to Binary5 – Quit• The following will appear when one of the choices in the main menu is chosen.Choice 1:Enter a binary number: 1100011000 base 2 = 24 base 10Choice 2:Enter a Decimal number: 2424 base 10 = 30 base 8Choice 3:Enter an Octal number: 3030 base 8 = 18 base 16Choice 4:Enter a Hexadecimal number: 1818 base 16 = 11000 base 2Choice 5:Goodbye!Choice 1:Enter a binary number: 110AInvalid binary number!Enter a binary number: 11 base 2 = 1 base 10• You can be more creative with your user interface if you want to, as long as the program outputs the correct conversion of numbers.It could perform the four basic arithmetic operations and could locate information stored in tabular form. Choices:Computer Science Using visual studio 2019 with a C# program create a WCF service to compute the body mass index (BMI) b. Let the user enter his or her weight w, in pounds and height, in inches. Then compute the body mass according to this formula and display the result. Let the user know if they have a healthy BMI or not. b=703w/h^2.
- Instructions: Circle T if the statement is true, F if the statement is false, or write the best answer in the space provided. A(n) _________'converts the source code of an application program into executable object code (machine language) one line at a time.What is the maximum amount of memory that an application software can occupy?Computer Science Code a Binomial Expansion Calculator in Visual Studio using Windows Forms.app (.NET Framework). UI must have 3 radio buttons, n = 2, n =3 and a custom n value. 3 textbox inputs (a, b, and for n which must only be enabled when radio button custom n value is selected. Outputs – must include a label that should dynamically change depending on the value of a, b &n (e.g. “The binomial expansion of equation (ax + by) of power n is:”). This should not be editable.
- Old-fashioned photographs from the nineteenth century are not quite black and white and not quite color, but seem to have shades of gray, brown, and blue. This effect is known as sepia, as shown in the figures below. Original Sepia Original Image & Sepia Image Write and test a function named sepia that converts a color image to sepia. This function should first call grayscale to convert the color image to grayscale. A code segment for transforming the grayscale values to achieve a sepia effect follows.Note that the value for green does not change. (red, green, blue) = image.getPixel(x, y)if red < 63: red = int(red * 1.1) blue = int(blue * 0.9)elif red < 192: red = int(red * 1.15) blue = int(blue * 0.85)else: red = min(int(red * 1.08), 255) blue = int(blue * 0.93) 1.GUI Test Generate sepia image 2.Convert gif to png 3.Image Test Image has been converted to sepiaHere is the code for the questions below pic = makeEmptyPicture(100,100) pixy = getPixel(pic, 70, 30) setColor(pixy, blue) pixie = pixy setColor(pixie, red) 1.What is the meaning of the instruction pixie = pixy in the code above? which one of this is the answer a. Make the pixie variable refer to the same pixel object that pixy already refers to b. Make a copy of the pixel object referred to by pixie, and store it in the variable pixy c. Make the pixy variable refer to the same pixel object that pixie already refers to d. Make a copy of the pixel object referred to by pixy, and store it in the variable pixie 2. What color is pixel pixy when this code finishes running? a. cannot be determined from the information provided b. magenta c. blue d. red 3. What color is pixel pixie when this code finishes running? a. blue b. red c. magenta d. cannot be determined from the information providedwrite in assembly language Divide by two numbers In this assignment, you are required to make an application using assembly code that takes two numbers from the user and returns the result of dividing the first number by the second number. Important notes: 1- You should allow the user to Enter to digits number "For the first number only" 2- You should allow two-digit results if necessary. Stretch goal "optional": Handle the remain of the division process and print it on the screen. Submission: Provide two files (.asm and screenshot). Use your university ID for files naming. Submission status
- Python exercice. consider the atttached file for further details. Old-fashioned photographs from the nineteenth century are not quite black and white and not quite color, but seem to have shades of gray, brown, and blue. This effect is known as sepia, as shown in the figures below. Original Sepia Original Image & Sepia Image Write and test a function named sepia that converts a color image to sepia. This function should first call grayscale to convert the color image to grayscale. A code segment for transforming the grayscale values to achieve a sepia effect follows.Note that the value for green does not change. (red, green, blue) = image.getPixel(x, y)if red < 63: red = int(red * 1.1) blue = int(blue * 0.9)elif red < 192: red = int(red * 1.15) blue = int(blue * 0.85)else: red = min(int(red * 1.08), 255) blue = int(blue * 0.93) images.py To instantiate an image from a file, enter image = Image(aGifFileName) To…2nd and 5th buttons must press together than should release firstly 5th button then 2nd button After that following leds will off. * * * * (* means led on) Write this program with Assembly with BTFSC code. (Use numbers hexadecimal and do not use INCLUDE and do not use BTFSS code)(Leds: PORTA – Buttons: PORTC – Use PIC16F877A) ....................................................................................................................................... The code will be like attached pic (just for example), thank youJava Programming Problem 2 – Characters Around a Circle 1) Create user interface using Scene, Pane and Stage. 2) Use Font class correctly to set up font style and size. 3) Use for loop correctly to scan through each character of the string. 4) Use methods of Text class to set font and rotate characters. 5) The output for Characters Around Circle is correct and looks like the sample screen.