In Exercises 53 through 56, determine the output produced by the lines of code where Courier New is the font setting for the list box.
Want to see the full answer?
Check out a sample textbook solutionChapter 3 Solutions
Introduction to Programming Using Visual Basic (10th Edition)
Additional Engineering Textbook Solutions
Starting Out with C++ from Control Structures to Objects (9th Edition)
Thermodynamics: An Engineering Approach
INTERNATIONAL EDITION---Engineering Mechanics: Statics, 14th edition (SI unit)
Java: An Introduction to Problem Solving and Programming (8th Edition)
Starting Out with Python (4th Edition)
Thinking Like an Engineer: An Active Learning Approach (4th Edition)
- the huntington high school basketball team has five players named art, bob, cal, dan, and eli. accept the number of points scored by each player in a game and create a bar chart that illustrates the points scored, similar to the chart in figure.arrow_forward1. The main function creates 5 pixels with random red, green, and blue values. Complete the id_color function to return “red” if the red value is greater than the green and blue, “green” if the green value is greater than the red and blue, and “blue” if the blue value is greater than the red and green. If there is no clear maximum value (for example, if the red and green values are the same) return None. Do not change the main function.arrow_forward1. The main function creates 5 pixels with random red, green, and blue values. Complete the id_color function to return “red” if the red value is greater than the green and blue, “green” if the green value is greater than the red and blue, and “blue” if the blue value is greater than the red and green. If there is no clear maximum value (for example, if the red and green values are the same) return None. Do not change the main function. import imageimport random def id_color(p):'''Returns the dominant color of pixel p'''pass#Your code here to determine the dominant color and return a string identifying it#Hint: get the red, green & blue values and use an if statement to determine which has the highest value def main():'''Controls the program'''for i in range(5): #Loop 5 timesr = random.randrange(0, 256)g = random.randrange(0, 256)b = random.randrange(0, 256)print(r, g, b) #Show the pixel red, green & blue valuesnew_pixel = image.Pixel(r, g, b)print(id_color(new_pixel)) main()…arrow_forward
- VB Small Project 16 – Function Pattern this Visual Basic program after Small Project 15: Main() Create the random number in the same way. EvenOrOdd Function() Pass that number into this function, where it will be found to be either Even or Odd. Return a value indicating which one that will be used back in Main. DisplayResults Sub The result from the EvenOrOdd Function is passed into this Sub and the same results as from SP 15 will be printed.arrow_forwardPython graphicsarrow_forwardFunction for button "Publishing Date": • Name this function by your last name (for example, function yamoutl)). When the user clicks on the button "Publishing Date" (after filling all the textboxes), the current date and time will be printed after the text "Published on:" CSCI375 Grades Exam-1 (70 Exam-2 98 Project 86 Exam-3 80 Show the Grades Your Grades: Exam-1 - 78, Exam-2 - 98, Project - 85, Exam-3 - 80 Publishing Date Published on: 5/10/2021, 5:39:08 PM Change Background Colorarrow_forward
- Fast plsarrow_forwardCategory ART_AND_DESIGN Rating Reviews App Photo Editor & Candy Camera & Grid & ScrapBook Coloring book moana U Launcher Lite – FREE Live Cool Themes, Hide Apps ART_AND_DESIGN Sketch - Draw & Paint FIND SEARCH 4.1 159 The FIND function returns the position (as a number) of one text string inside another. When the text is not found, FIND ART_AND_DESIGN 3.9 967 4.7 87510 returns a #VALUE error. ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN ART_AND_DESIGN 4.5 215644 Pixel Draw - Number Art Coloring Book Paper flowers instructions 4.3 967 The SEARCH function returns the location of one text string inside another. SEARCH returns the position of the first 4.4 167 character of find_text inside within_text. Unlike FIND, SEARCH allows wildcards, and is not case-sensitive. Smoke Effect…arrow_forward2-Displaye the name Nd department number of all employees working in departments 10 and 30 in alphabetical order of names. 3-Displaye the name, function and salary of all employees whose function is clerk or analyst and their salary is not eqaul $1000,$3000 or $5000 4-Display the name and salary of employees earning more than $2850. 5-Display the name and salary of employees whose salary isn't included between $1509 and $2850. 6- Write a query that displays today's date. Name the column Date 7-Display employee number, name, salary and salary plus 15% as an integer. Name this column new salary 8- for each employee displaye the name and calculate the number of months between today and their hire date Name the column month worked. sort the result in descending order of number months of work. Round the number of months to an integer 9- write a query that displays the names of employees with the first letter in uppercase and the following in lower case, and the length of their name and this…arrow_forward
- Which part of a paragraph most often gives illustrations?arrow_forwardCreate a structure called car with the following members: • Make • Model • Year • Mileage Create a structure array with three elements named myCars. Populate each structure in the array with your favorite car model information. Use a for loop to print each structure detail in the array.arrow_forwardWrite a regular expression that matches the day of year such as "1-1-2018" or "7/4/1776". Dates like "9-31-1955", "3/29-2018", and"5-28/1956" should not be matched. You do not have to worry about leap years (i.e. assume February has 28 days every time). Edit View Insert Format Tools Table 12pt v Paragraph v A To 田 画 D O wordsarrow_forward
- New Perspectives on HTML5, CSS3, and JavaScriptComputer ScienceISBN:9781305503922Author:Patrick M. CareyPublisher:Cengage LearningProgramming with Microsoft Visual Basic 2017Computer ScienceISBN:9781337102124Author:Diane ZakPublisher:Cengage LearningMicrosoft Visual C#Computer ScienceISBN:9781337102100Author:Joyce, Farrell.Publisher:Cengage Learning,
- Np Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:CengageCOMPREHENSIVE MICROSOFT OFFICE 365 EXCEComputer ScienceISBN:9780357392676Author:FREUND, StevenPublisher:CENGAGE L