QI/Select the correct answer: 1- The programmer use a) Text property to refer to menu element in code. c) Name b) Code d) Element 2- To add input box in VB the required code is: a) input box ("prompt or remark"," title") b) X- input box (prom'pt or remark, title) c) d) input box (prompt or remark, title) d) X input box ("prompt or remark"," title") 3- The variables that does not change the value during execution of program is... c) Numeric a) constant b) string d) All of the above
Q: If the str variable contains the string "berry", which pseudocode statement changes itscontents to…
A: This mcq is related to programming logic.
Q: Old-fashioned photographs from the nineteenth century are not quite black and white and not quite…
A: Programming is an art where programmer instructs a computer to carry out certain task, this task…
Q: Q3/Answer the following questions. A) Answer with True or False 1. The Shape is a tool, which has no…
A: 1. False 2. True 3. YeS
Q: Q4) - Design a program to replace the text "Applied Sciences" between two label every two second.
A: Note: Programming language not mentioned in the question. HTML is chosen fro implementaion. Code:…
Q: Check the correct in checkbox The preprocessor removes the _______ from the source code.…
A: Question. Check the correct in checkbox: 1. The preprocessor removes the _______ from the source…
Q: 1. Ask the user how many stars they have (between 0 and 10) 2. For each star ask the user for it's…
A: import turtle turtle.bgcolor("darkblue") turtle.speed(0) turtle.hideturtle() color_lst=["red",…
Q: B- Write a program to enter the name of a student and two marks of any using input box then computes…
A: B. import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner…
Q: Q1: Write C program to display the below menu and act depending on the user choice. ******* Geometry…
A: Aim: C program to find the area of circle or volume of a sphere.
Q: Tabs to escape in the vertical direction. \n O lb This function returns a non-zero value if char is…
A: Definition: 1) An escape sequence is a series of characters that, when used inside a character or…
Q: Q/Write a visual basic program to greneate the following numbers on listbox using do .. loop The…
A: Algorithm: Start Initialize x to 0, y and z to 40 Using do loop, iterate through the loop till…
Q: Plotting using Bar Function Plot the function y(x) = e sin2x on a bar plot. Use 100 values of x be-…
A: Determine 100 points between 0 and 10 for the x axis using linspace() function. Use the x-axis value…
Q: File Edit Format Run Options Window Help #use the function to draw a face #face.py #circle_at.py…
A: The turtle is a module built into Python. Provides drawing using screen (cardboard) and turtle…
Q: 3. - Using Outline component create three buttons and write program for each buttons of Outline. 1)…
A: Let's us assume this is a html , Javascript and css query, and let's start creating the three…
Q: three textbox arrays A1, A2, A3 contains degrees of 10 stu * three materials. The code to find the…
A: Here we need to add values of A1, A2 and A3. This makes option (a) and (d) incorrect.
Q: The Movie table has the following columns: ID - integer, primary key Title - variable-length string…
A: Alter table is a Data definition command used to modify the structure of the table. Below step is…
Q: *9.23 (Buttons and radio buttons) Write a program that uses radio buttons to select back- ground…
A: Program plan: Define the grid boxes Define the colors Declare the radio buttons respectively the…
Q: A vertical tab escape sequence. \n O lb If char is a letter of the alphabet, this function returns…
A: Vertical Tab Escape Sequence: An escape sequence is a series of characters that, when used inside a…
Q: Author Name Publish Date Price No of copies in hand No of Copies sold Initialize 10 Books and…
A: code for bookstore in c: #include<stdio.h>struct bookshop { int book_id; int…
Q: PHONEMES]
A: The code screenshot is attached as,
Q: Q2: Write a program in visual basic to read (10) integer numbers, then find the factorial of any…
A: Please find the code below:
Q: Old-fashioned photographs from the nineteenth century are not quite black and white and not quite…
A: Solution :: #code from images import Image def sepia(image): #initially converting image…
Q: 28- Every variable should be separated by separator. • Dot Colon • Comma Semicolon
A: Every variable should be separated by Comma operator. Answer: Comma
Q: The text area control create a area.
A: The text area control to create which area is as follows:
Q: kindly write code in C++. Code with comments and output screenshot
A: I'm writing c++ code with comments of the following question: here, This program comprises of 4…
Q: C- Answer with True or False (4 only) 1- The "Listl.Addltem (i)" is used to add an item into the…
A: 1)True 2)True
Q: # Global constant for body mass which is equal to 703 # Create variables and initialize all of them…
A: # Global constant for body mass which is equal to 703BODYMASS = 703 #Create variables and initialize…
Q: The graphic functions commonly used to create and print text are described : outtextxy(string) true…
A: Please find the answer below :
Q: Please insert the source code into the textbox below before the time up. The code must contain your…
A: As per our policy as the programming language is not mentioned i am using the python programming…
Q: Javascript toggleCommentSection function The function toggleCommentSection should exist. The…
A: the program is given below:-
Q: Design In Visual Basic a form and write a code to find the largest value of N numbers using Do While…
A: Visual Basic windows form application to find the largest of N values using a while loop. Design the…
Q: Q3\ Design a form and write code to find the summation of numbers that are divisible by 2 (from 0 to…
A: There are many languages which are used in today's wold. Computer language can be described as a…
Q: piots data the Ask the user whether all polygon or only convex polygon should be p Do not forget to…
A: It is defined as a container object that holds a fixed number of values of a single type. The length…
Q: This function will display the menu options that the user can choose (to calculate perimeter or area…
A: A function is a block of statements that can be reusable whenever the user needs Here, the task is…
Q: python coding:-purpose of this code is to identify every employee detail using employee id ,name…
A: Input : Read data of two files : employees.txt payroll.txt Output : Output employee details…
Q: (textblob.utils Utility Functions) TextBlob’s textblob.utils module offers several utility functions…
A: rom django.db.models import Value from django.db.models.functions import Lower, Replace def…
Q: I am currently trying to write this program using if, else statements to convert Convert Farenheit…
A: The corrected program: print("Conversion factor") print() print("T - Convert Farenheit to Celsius")…
Q: 9x11 Z=1- X3 5X7 + 32 7² - ·+... 112 Write the code program so that the value of (X) is entered into…
A: Form Design :
Q: Toyota -model: String -color: String -MPG: int +vin: int +start: boolean +Toyota(vin:int, int:mpg)…
A: The code for the above-given question is given below:
Q: initialization will be done within the code (largest value 99.9 minutes). When the remaining time…
A: Program explanation: Include the header file. Take the input for minutes and pass it to the…
Q: I. Pay Increase (Nr 8, Page 357) At one college the compensation for a full-time teacher is $60,000…
A: FORM DESIGN:
Q: The escape character \v' is used for (a) adding vertical tab, (b) adding horizontal tab, (c) adding…
A: 4.) '\v' is used for : Option ( a ) adding vertical tab is CORRECT answer.
Q: A-C, identify the errors and rewrite the statement. Save your code as PE4_2.py. myList =…
A: myList = ['apple','banana','cherry']print(myList[3]) The above array can't be printed like this…
Q: C++ - Creating a menu (menuOption) - Need assistance in creating a menu that opens up an entirely…
A: Required: need assistance on having my initial menu open up an entirely new menu depending on what…
Q: for i in range (0,4): turtle.forward(50) turtle.left(90) Look at this code, how many times will it…
A: given for loop: for i in range (0,4): turtle.forward(50) turtle.left(90) this will loop…
Q: Fill in the blanks. Provide the number immediately before and after the given number in the given…
A: here we have given value of before and the after of present values.
Q: To show text on graphics screen use the function settextsxtstyle cout cin O outtextxy
A: The graphics .h header file contains a function named outtextxy() to display the string/text in a…
Q: #include #include #include using namespace std; struct menuItemType { string menuItem; double…
A: The code is given below:-
Q: . Write code that uses turtle graphics to draw four concentric circles ofradius 50, 100, 150 and…
A: Given, We have to write a python code that uses turtle graphics to draw four concentric circles of…
Q: Kindly edit the code and display the menu again after completing the fucntion. #include #include…
A: update added a function call menu() that will display the menu.
Q: 28- Every variable should be separated by separator. Dot • Colon Comma Semicolon
A: Variables are separated by commas For example: int a, b, c; a, b and c are variables and they are…
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- Write the code to allow the user to enter a list of positive integers via input boxes and add each number entered to the lstNums list box. Use a Do-While or Do-Until Loop to let the user continue to enter numbers until -1 is entered. Do not add the -1 entry to the list box. In visual Basic please.Please create a code using c++. Please create a code that will give a result exactly like the SAMPLE SCREEN LAYOUT.Python question please include all steps and screenshot of code. Also please provide a docstring, and comments throughout the code, and test the given examples below. Thanks. A single playing card can be represented by a string where the first character is a digit2-9 or a letter ‘A’, ‘T’, ‘J’, ‘Q’, or ‘K’, for Ace, Ten, Jack, Queen, King respectively, andthe second character is one of ‘S’, ‘H’, ‘D’, or ‘C’ for Spades, Hearts, Diamonds, orClubs. A hand of cards can be represented by a list of strings. Write a function calledthreeOfAKind() that takes a list of strings representing a hand of cards, and returns Trueif there are exactly three cards with the same value (regardless of suit), False otherwise.>>> threeOfAKind(['3D', 'KD', 'JD', '3H', '3S'])True>>> threeOfAKind(['3D', 'KD', 'JD', '3H', '4S', '5S'])False>>> threeOfAKind(['3D', '3H', '3S', '3C', 'AC'])False
- Transcribed Image Text Create a program that allows the user to do some basic functions. First, ask the user if they would like to find out sqrt, log or factorial of a number, then return the results. Here is the sample output: Welcome to the simple math helper. What would you like to calculate? 1. Sqrt 2. Log 3. Factorial > 1 Enter the number to sqrt: >9python coding:-purpose of this code is to identify every employee detail using employee id ,name ,how many he/she do their work through that calculate pay rate in employee text file .Through employee text file identify payroll using their employee id ,hours ,and description about how much time spend to their work either holiday, regular or overtime. Through payroll check payment of employee. write a python code of this program1.use comments 2.add a menu if required?3.please use meaningful veriables4.use try\except\else\finally in the code if required and write a descriptive a Pseudocode of this program ? these are the two txt files named employees.txt and payroll.txt the employees.txt contains the following information :- Emplid,Name,Hourly RateA4141,Prince Kuriakose,25A2496,Dhruv Raval,39A9843,Captain Singh,35A2366,Yogesh,21 the payroll.txt contains the following information :-…dictionaries = [] dictionaries.append({"First":"Bob", "Last":"Jones"}) dictionaries.append({"First":"Harpreet", "Last":"Kaur"}) dictionaries.append({"First":"Mohamad", "Last":"Argani"}) for i in range(0, len(dictionaries)): print(dictionaries[i]['First']) ************************************************* please modity the above code to "Add an ‘if’ statement(s) to the loop in your solution in Exercise 7 to only show the full name if the first name is “Bob” or if the last name is “Kaur”.
- . After you correct all the errors check the output and make sure the code gives the desired output. EngineeringDepartments = ['Biomedical Engineering', 'Chemical Engineering', 'Civil and Environmental Engineering' 'Electrical and Computer Engineering', 'Materials Science and Engineering' 'Mechanical Engineering', 'School of Computing'] i=0 def print_list(x): whileTo start the emacs editor, the user needs to type _____. Choose an answer A Ctrl+emacs B Ctrl+s C emacs D Ctrl+e# Debug the following program and submit the CORRECT version ####### Lists names = ["chris","dan", "edgar", "bonnie", "al", "fran"] usernames = ["202999", "100345", "299999", "309890", "298765", "345678"] passwords = ["password", "password123", "abcdef", "asdfjkl;", "ilovemom", "abc123"] menuChoice = 0 # user's menu choice ###### functions def printList(list):# print listprintprint(list)print def displayMenu():# displays user-friendly, creative menu printprintprint("******* MENU *******")print("1. (D)isplay list 1 in original order")print("2. D(I)splay list 2 in original order")print("3. (F)ind an item in the list 1")print("4. (L)ogin")print("99. (E)xit")printprint def isFound(list, value):# finds a value in list returns True if found, False otherwiseif (value in list):return Trueelse: return False ###### main program while (menuChoice != "99"):displayMenu()menuChoice = input("Enter a menu choice: ")# handling menu choices if (menuChoice == "10" or menuChoice.upper().strip() ==…
- Identify errors if there are any & after identifying rewrite the code. See the following imageThe escape sequence \n represents the ____________character, which causes the cursorto position to the beginning of the next line on the screen.def menu():print("[1] Load Shapes")print("[2]Exit the program")print("[3] Add shapes")print("[4] Save shapes")option = int(input("Enter your option:"))while option != 0:if option > 4:print("Error:please enter a valid number.")break I'd like to add some error handling in here so that if a user types in a letter it prints a message saying "please only enter numbers, no letters"