A is a data type that you may construct that includes one or more fields. structure b. collection c. volume d. list a. structure b. collection c. volume d. list a. structure b.
Q: QUESTION 1 Which statement is TRUE about a pointer? O A pointer can be referred without…
A: 1 .this means b is a pointer to a 2. Modular
Q: Look at the code below and use the following comments to indicate the scope of the static variables…
A: Scope of variables and functions: Scope of variables and functions are an identifier, that…
Q: Write a function named Quotient with 2 Integer parameters (originally from text boxes) and a Double…
A: According to the question we need to write a function named Quotient with 2 Integer parameters…
Q: ASSIGNMENT: Student Data Write a program that uses two structures Name and Student to store the…
A: PROGRAM: //Header file #include <iostream> #include <stdlib.h> //Using namespace using…
Q: This is my question and assignemnt. Any and all help would be great! Create a PHP file named…
A: The class User has following definition: username which is public. an array roles, with values…
Q: 3 Parameter: An array of strings. Return value: A list of the three strings that occur most…
A: Answer: 3. Parameter: An array of strings. Return value: A list of the three strings that occur most…
Q: (USING PYTHON) create a function create employee_objects that takes a list of data as input and…
A: code- class employee: def __init__(self, name): self.name = name…
Q: 1. Which keyword is used to define the user defined data types? a) def p) union =) typedef d) type
A: The user define some of the data types according to its need and those data types are also known as…
Q: q5) If you are developing an application in which data is dynamic and will be defined at the time…
A: The question asked is about the dynamic memory allocation to store the data. In each and every…
Q: In C program Create Student Library with the following components: student_t : user-defined type…
A: Student.h struct student { int StudentID; char firstname[20];…
Q: For my C project: Bus ticket reservation. I want to create a function and one txt file for Passenger…
A:
Q: There are four fundamental operations for accessing data structures. Many data structures accomplish…
A: Data structures: Way of organizing the data in a computer is called as data structures and these…
Q: Write a C++ class to handle costumers buying list from Electronics store the list can go up to 20…
A: The program will ask the user to add 3 electronic device name and device price. Then we have used…
Q: Grouped Variables of the same type that is called a collection False O True There are three types of…
A: It is defined as a name given to a storage area that our programs can manipulate. Each variable in C…
Q: What is the syntax of user-defined data types? a) typedef ExistingDataType NameByUser b) typedef…
A: Question. What is the syntax of user-defined data types? a) typedef ExistingDataType NameByUser b)…
Q: Question 1:- Which one of the following SAS DATA steps saves the temporary data set named HADOOPDATA…
A: Since you have asked multiple questions in a single request, we will be answering, only the first…
Q: Explain with an example how one predefined data type can be converted to a user defined data type
A: GIVEN: Explain with an example how one predefined data type can be converted to a user defined…
Q: A structure should be used if the data structure has only fields, no methods, and security is not a…
A: Given: A structure should be used if the data structure has only fields, no methods, and security is…
Q: Function: Create a function which accepts patient id and display the patients name, date admitted.…
A: User Defined Function: Create Function PatientDetail(@Patient_ID varchar(255))Returns TableASReturn(…
Q: uppose, you are running a book shop. You have 80 books there. Design a structure name Book_info to…
A: We need to define the Structure and price_change() functions as per the given description.
Q: Write a program that uses two structures Name and Student to store the following information for…
A: Actually, program is a executable software that runs on a computer.
Q: 16. A virtual function that has no definition and is set to zero is said to be a. A syntax error b.…
A: 16. →option - c. Pure Virtual 17. →option - a. True 18. →option - a. Map 19. →option - d.…
Q: Here the data dictionary of this application: An editor includes the following attributes:…
A: Starting with knowing some information about Data Dictionary, Entity Relationship Diagram and…
Q: In CPP , Write a program that: Defines an enum named Classification. The enum Classification will…
A: Here I have created 3 different enums. Next, in the main method, I have taken input from the user…
Q: Using Pandas library in python - Calculate student grades project Pandas is a data analysis…
A: pyhton program to calculate the grades of the students
Q: Write a program in c Build an application for a car rental company. It should offer the following…
A: Given: Build an application for a car rental company. It should offer the following features: •…
Q: "Divide and Conquer" is a term often used to describe using functions to break complex programs into…
A: Divide and Conquer strategy is used when developing large applications. in this, large programs are…
Q: Write, test, and debug (if necessary) PHP scripts for the specifications that follow write functions…
A: Required: Write, test, and debug (if necessary) PHP scripts for the specifications that follow…
Q: Function: Create a function which accepts patient id and display the patients name, date admitted.…
A: Given: Function: Create a function which accepts patient id and display the patients name, date…
Q: , test, and debug (if necessary) PHP scripts for the specifications that follow write functions and…
A: It is defined as a server side scripting language. that is used to develop Static websites or…
Q: Smart" Internet of Things, e.g., smartphones or smart cars, are smart because devices are equipped…
A: Answer: Our guidelines is answer the first three question form the first question
Q: Create an application to keep track of a list of students and their grades in a data structures…
A: Code : #include<iostream> #include<list> using namespace std; //Student class with name…
Q: Using C++ create a class Parent with Name & CNIC number as a private data members. Create a getinput…
A: Sample Response: //C++ programming language#include <iostream>using namespace std; //Base…
Q: Written in C, Please provide comments to the code. Using the two structures below, write a C…
A: Answer
Q: What is the scope and super scope?
A: Introduction: IP addresses and other network information are dynamically assigned to network clients…
Q: using c++ ,Create class “Student” with the following fields: FirstName, LastName, MiddleName,…
A: Answer: our guidelines is answer the first three subpart form the first part. so we have written…
Q: 5. A company named Sheba.xyz has recently moved from their old domain to a new domain. However, a…
A: - We need to highlight the code for domain replacement.
Q: *******Answer question below:******* Create UML Class Diagram and java source file. +add…
A: Here is Solution for Above Problem :: Here is Java Code :: import java.util.ArrayList;import…
Q: 1 Parameter: An array of strings. Return value: A list of the unique strings in the parameter array.…
A: 1. Parameter: An array of strings.Return value: A list of the unique strings in the parameter array.…
Q: Exercise 1 (2%) Create an anonymous block that displays a course list. Declare a cursor and use the…
A: Solution: The answer for above question is given below.
Q: Function: Create a function which accepts patient id and display the patients name, date admitted.…
A: Create Function PatientDetail(@Patient_ID varchar(260)Returns TableASReturn( Select concat('The…
Q: A hospital wants to create a database regarding its indoor patients. The information to store…
A: Given that, A hospital wants to create a database regarding its indoor patients. The information to…
Q: Define data encapsulation, and why you would want to use it.
A: Given: Define data encapsulation, and why you would want to use it.
Q: make a program in c++ which Implement a class with name Department which is composed of one…
A: create a class Department data member manager data member employee display( )…
Q: Implement another class with name UniversityClass which is composed of one teacher and multiple…
A: The code and the output have been shown in step 2.
Q: classification classification number classification name food 2 food 3 raw material Products product…
A: The database query is
Q: C++ menu-driven programs on SUPERMARKET BILLING SYSTEM have product class with data members like…
A: C++ programming language is an object-oriented programming language, it's a cross-platform…
A is a data type that you may construct that includes one or more fields.
- structure b. collection c. volume d. list a. structure b. collection c. volume d. list a. structure b.
Step by step
Solved in 3 steps
- A __________ is a data type you can create that contains one or more variables known as fields. a. structure b. collection c. volume d. listAverage grades bar chart Write a python program grades.py that reads a file of assignment grades and draws a bar chart of the average grades for each assignment. Save the figure as grades.png in the current working directory. The format of a line in the file is: assignment_type grade Note that there is a single space between the assignment type and the grade. E.g. exam 92.80 Your program must contain the following functions: Function name Function description Function input(s) Function return value(s) get_grades() This function takes a file name as input and populates a dictionary containing the assignment types and grades. Filename string Dictionary of grades main() This function prompts for the grades file name. Next, it calls the functions get_grades(). Next, it draws the bar chart of the average grade for each assignment. Hint: You can use the mean function of the statistics module to calculate the average of a list. None None Use the starter…String variables userName and className are read from input. Use variables userName, className, and verbDescription to output the following. End with a newline. Ex: If the input is Eli Databases, then the output is: Eli is studying Databases. #include <iostream> #include <string> using namespace std; int main() { string userName; string className; string verbDescription = "is studying"; cin >> userName; cin >> className; /* Your code goes here */ return 0; }
- Question: Create a module called chemistry that contains the following three functions: elementName(symbol) This function accepts one string parameter. The symbol represents the name of a specific element on the periodic table. The function returns the name of the element (as string) of the specific element. For example, elementName(Na) returns Sodium. elementName(Li) return Lithium. Note: You are NOT allowed to use lists or any data types not yet covered in class. ionicCompound(e1, c1, e2, c2) This function accepts the chemical symbol and charge for two elements. The function should return the ionic compound created with these two elements. The subscripts should be reduced. ionicName(e1, e2) This function accepts the chemical symbols for two elements. Based on these two symbols the function should return an appropriate chemical name. ionicName(Mg, O) returns Magnesium Oxide. Create a Python program that uses the functions defined in your chemistry module to allow a user to create…/* * CECS 2223, Computer Programming II Laboratory * Winter 2021, Sec. 05 * Date: April 20, 2022 * Topic: Composition * File name: SP-22_lab05 * This file implements the Catalogs class * Name: [YOUR NAME HERE], ID#[YOUR ID NUMBER HERE] * Complete the C++ code as required */ // write the correct include statement int main(){ // create the catalog for Polytechnic University // call the method to print the university's catalog // add the following courses to the catalog: // MATH 1350 Calculus I, 4 credits // CECS 2233 Computer Programming II Lab, 0 credits // EE 1130 Freshman Design for Electrical and Computer Engineers, 3 credits // CECS 2222 Computer Programming II, 4 credits // print the catalog to show all courses added // print the phrase "Program developed by YOUR NAME, YOUR ID#" // with your personal information. return 0; }Employee Management System Write a python class named Employee that holds the following data about an employee in attributes: name, ID number, department, and job title. Once you have written the class, write a PYTHON program that creates three Employee objects to hold the following data: Name ID Number Department Job Title Susan Meyers 47899 Accounting Vice President Mark Jones 39119 IT Programmer Joy Rogers 81774 Manufacturing Engineer The program should store this data in the three objects, then display the data for each employee on the screen.Using the Employee class, create a program that stores Employee objects in a dictionary. Use the employee ID number as the key. The program should present a menu that lets the user perform the following actions: • Look up an employee in the dictionary• Add a new employee to the dictionary• Change an existing employee’s name, department, and job title in the dictionary• Delete an employee from the dictionary• Print all…
- For beginning Java, need help with this: " Purpose: Define class using OO approach Understand how to create and manipulate list of objects Design and create a well-structure program using basic programming constructs and classes Description: Write a program to help you to manage courses you are taking this semester. Your program provides the following options: List all courses Add a course Search word: show all the courses that has the word in the course title (ask the user for the word) List >= input-unit: show all the courses that has unit >= input-unit (ask the user for input) Exit Explanation of options: The program prints your course list. Initially, it should say “Your list is empty” The program asks the user input for a course including: course ID, number of units and title. The program asks the user to input the search word. Then, display all courses that has that word in the title. The search must be case-insensitive. For example, “computer” and…Use Python Programming Language (The Stock class) Design a class named Stock to represent a company’s stock that contains: A private string data field named symbol for the stock’s symbol. A private string data field named name for the stock’s name. A private float data field named previousClosingPrice that stores the stock price for the previous day. A private float data field named currentPrice that stores the stock price for the current time. A constructor that creates a stock with the specified symbol, name, previous price, and current price. A get method for returning the stock name. A get method for returning the stock symbol. Get and set methods for getting/setting the stock’s previous price. Get and set methods for getting/setting the stock’s current price. A method named getChangePercent() that returns the percentage changed from previousClosingPrice to currentPrice. Write a test program that creates a Stock object with the stock symbol INTC, the name Inte lCorporation, the…Using C/C++ programming language, 1. Write a program that will read 5 mobile’s information from the user and save it in a file named“mobileInfo.txt”.2. Write a function that will print all the information of a specific smart phone. Use the prototype -void printPhoneInfo(SmartPhoneType phoneType);3. Print all the information of the phone using the function mentioned in the Question 2 which hasthe highest price. Use the prototype -void getHighestPricePhone ( SmartPhoneType mobileList[], int size, SmartPhoneType*highestPricePhone);
- In CPP , Write a program that: Defines an enum named Classification. The enum Classification will have 2 data values: undergraduate, graduate. Defines an enum named Status. The enum Stutus will have 2 data values: parttime, fulltime. Defines an enum named Residency. The enum Residency will have 2 data values: resident, international. Defines a student name variable. Creates a Classification, Status, and Residency, credit hour, cost per credit hour, and tuition variable. Reads the value of the Classification, Status, and Residency, student name and credit hour variable from the user. If the student is a fulltime undergraduate resident student, tuition is credit hour times 345.00 If the student is a fulltime undergraduate international student, tuition is credit hour times 685.00 If the student is a fulltime graduate resident student, tuition is credit hour times 545.00 If the student is a fulltime graduate international student , tuition is credit hour times 885.00 If the student is a…Final - Patient ChargesCreate pseudocode, flowchart and python code for the Patient Charges program. This final project requires multiple files (modules, drivers, and your main).Design a class named Patient that has fields for the following data: ● First name, middle name, last name● Address, city, state, and ZIP code● Phone number● Name and phone number of emergency contactThe Patient class should have a constructor that accepts an argument for each field. The Patient class should also have accessor and mutator methods for each field.Next, write a class named Procedure that represents a medical procedure that has been performed on a patient. The Procedure class should have fields for the following data:● Name of the procedure● Date of the procedure● Name of the practitioner who performed the procedure● Charges for the procedureThe Procedure class should have a constructor that accepts an argument for each field. The Procedure class should also have accessor and mutator methods for…Lab 8.1 - Using Value and Reference Parameters In Visual Studio Code under labactivity8_1 folder, create a new file main.cpp. Open the C++ source file main.cpp in the text editor and copy the source code below. /** * @file WRITE FILE NAME * @author WRITE STUDENT NAME(S) * @brief Using value and reference parameters. This program * uses a function to swap the values in two variables. * @date WRITE DATE TODAY * */ #include <iostream> using namespace std; // Function prototype void swapNums(int number1, int number2); int main() { int num1 = 5, num2 = 7; // Print the two variable values cout << "In main the two numbers are " << num1 << " and " << num2 << endl; // Call a function to swap the values stored // in the two variables swapNums(num1, num2); // Print the same two variable values again cout << "Back in main again the two numbers are " << num1 << " and " << num2 << endl; return 0; } /** * @brief WRITE DESCRIPTION OF…