untime, new input size. You'll fill in the expected new runtime. Refer to Runtime Rules of Thumb to gure out the answers. OriginaI
Q: what is a variable? a-Naming convection for storage locations b- it's a volatile substance c-…
A: Variable means something that is liable to change. Variable means which is not consistent or having…
Q: MIDI files smaller that digital audio files
A: Required: MIDI files smaller that digital audio files?
Q: NEED HELP WITH LINUX Show screen capture of program being compile with the test input. Attached a…
A: Given : Q1: Write the script to do the following, Ask user to enter an integer, and output whether…
Q: Given two numbers from Command Line (CMD) arguments, increment the first number by 4. Calculate the…
A: Given two numbers from Command Line (CMD) arguments, increment the first number by 4. Calculate the…
Q: ux Program homework need help, dont give the wrong answer please, show the result and output plz.…
A: Code is below:
Q: There is a multiline string variable i.e. inputString = ‘Dell Display Manager’s (DDM) Easy Arrange…
A: PROGRAM CODE: inputString = "Dell Display Manager’s (DDM) Easy Arrange feature lets you quickly tile…
Q: What are the four libraries created by default in Windows 7?
A: The four libraries is given below -
Q: Hello, I am really having trouble with this one. Your help would be truly appreciated. implement…
A: The file handling modules present in python can be used for various purposes, one such module is the…
Q: What are the filing file types represented by the extensions below? Are they audio or video files? •…
A: WMV :- video file WAV :- audio file AVI :- video file
Q: Explain any four different ways for reading input from the user in the command line environment?
A: Below is the answer with explanation for java language as language not specified:
Q: Which of the following is used to store the data and program for repeated use? Information can be…
A: There are various types of storage units a computer may have and they varies on size, cost, type and…
Q: 1. You'll need two text files to test your code. Using your favorite text editor (notepad on…
A: Sample output
Q: What happens if you don't close a file after writing to it? A. The file will be corrupted. B. The…
A: Ans : if you don't close a file after writing to it,then it happen in python is : D) Nothing. It's…
Q: count number of 1s in binary representation of an integer CO
A: Any number when done '&' operation with 1, gives the last/least significant bit of that number.…
Q: A source file What do you call a file containing a program written in a high-level programming…
A: The high-level language allows a programmer to make code that is somewhat autonomous of a specific…
Q: Q1. Write a C program to create link list and short the elements of link list in increasing order.…
A: C program to create a linked list and sort the elements, on ubuntu. Solution- Create a C file using…
Q: Book reference: Windows PowerShell Step by Step 3rd Edition - Ed Wilson Chapter 14 6. What does…
A: Let us see the answer:- Introduction:- The Select-Object cmdlet selects properties from an object or…
Q: Write a program that prints a text file to Google Drive in Groovy.
A: Grооvy рrоvides а number оf helрer methоds when wоrking with I/О. Grооvy рrоvides…
Q: Explore the differences and similarities between Ubuntu and other Linux distributions. I am the most…
A: Given: Ubuntu is an open-source Linux distribution.Ubuntu is accessible as a desktop, server, and…
Q: Output command printf("%s",str); Input command scanf("%s",str); scanf(“%lf",&price); ch=getchar();…
A: #include <stdio.h> int main(){ char ch, str[20], name[30], gender ;int num;double price;…
Q: What is the correct order for converting the source code into an executable file?
A: Source code the program code which is in high level language and this is in reader format. The…
Q: How open file txt in my computer
A: Introduction: TXT files, for example, maybe opened using Windows' built-in Notepad software by…
Q: this is my code and this is a sample of the output my teacher wanted , the last line > the number of…
A: - Adding the required functionality in the code. - The code is regarding the password strength.
Q: Scripts mean: ORead a variable's value during the runtime. ORead integer's value during the runtime.…
A: A script in Matlab is an M-file that contains multiple sequential lines of MATLAB commands and…
Q: Python3 How can I improve my code follow the instruction? In self. part in line6 to line10. I want…
A: Basically, a scenario related to movie is given which is coded in python. In constructor each…
Q: Is this your first time using a text editor to create a file? Why? It's possible that you'll need to…
A: "Yes," text editors allow for the creation of files. Reason: The following reasons justify the…
Q: What use does having two modes (user and kernel) serve?
A: According to the asked question, the solution is given below with proper explanation. According to…
Q: How would you change the file's name from "in" to "out"? on the Linux platform
A: mv command is used to rename a file
Q: give information about working with shared files and printers in linux and printers .
A: answer is
Q: How can we convert data that is written on a device that supports only sequential access to a device…
A: SEQUENTIAL ACCESS: Sequential access refers to the process of accessing the elements on any memory…
Q: Write a shell script that uses a for loop to output the names of all the files and directories in…
A: for path in sample/*;do printf -- '%s\n' "${path##*/}" done
Q: 3- The output file from the Front End design is called: a. A clock b. An accelerator c. A netlist
A: I have Provided this answer with full description in step-2.
Q: How would you rename the file "in" to "out"? on linux
A: mv command is used to remane a file
Q: Fill in the blank question- Only answer without explanation Q. ____________ to disable graphical…
A: Hey there, I am writing the required solution based on the above given question. Please do find the…
Q: create a program to compress and decompress a file from flashdrive. you can use python, C, C++…
A: import tarfilefrom tqdm import tqdm # pip3 install tqdm def decompress(tar_file, path,…
Q: Q3) Fill in the blanks 1. are M-files that can accept input arguments and retum output arguments, 2.…
A: As per bartleby policy i can attend the first 3 questions : Please see the step 2 for answer of…
Q: The command saves MATLAB workspace data to disk, and the command loads data from disk into the…
A: the answer is given below
Q: Please give me recommendations and implementation in Memory Management in Linux. Thank you!
A: The answer is as follows.
Q: Hi. I need the code for lowercasing all the letters in a .txt file in rdd programming with pyspark.…
A: Lowercase
Q: Book reference: Windows PowerShell Step by Step 3rd Edition - Ed Wilson Chapter 18 5. What are the…
A: the common causes of run-time errors The runtime error is the error which happens during the…
Q: All processor commands start with the symbol
A: All processor commands start with the symbol
Q: Like Professional, How to officially convert my java program to an exe file?
A: javapackager The JavaPackager programme prepares Java and JavaFX applications for distribution by…
Q: Hi i am sorry to be a bother but i have a project that i am doing and quite honestly i do not quite…
A: Question explanation: In this project, the professor tries to ask for a script that displays all the…
Q: Q. In Linux, A Process is called as ____________
A: Given question is based on linux.
Q: 4. What are two ways of obtaining modules from the PS Gallery?
A: Answer of the given question: You can discover bundles in the PowerShell Gallery by utilizing the…
Q: Windows PowerShell Step by Step 3rd Edition - Ed Wilson Subj: PWS0 - PowerShell Chapter 2 1. Type…
A: As per our guidelines we are suppose to answer only first question. Kindly repost other questions as…
Q: What does the /var directory contain?a. various additional programsb. spools and log filesc.…
A: /var directory: It is a subdirectory of the root directory. It contains the files to which, during…
Q: Write a program in Groovy that saves a text file (.txt) to Google Drive.
A: Create .txt file: def newFile = new File("file.txt")newFile.createNewFile()
Q: There is a multiline string variable i.e. inputString = ‘Dell Display Manager’s (DDM) Easy Arrange…
A: def doRequired(inputString): print('Input String:\n {}\n'.format(inputString))…
Step by step
Solved in 2 steps
- 1. Shrink page, refers to shrinking or stretching printed output to a percentage of its actual size.Select one:a. False b. True Question text2. ____________ function that return False when all its arguments are False, and True when one or more arguments are True?Select one:a. IF b. OR c. NOT d. AND 3. =COUNT(Good[Fine]),The name of the table is__________.Select one:a. Fine b. Good c. COUNT d. (Good[Fine]) Question text4. Data value tool is used to enforce constrains to enter specific data type in excel cell (for example only to enter number).Select one:a. False b. True Question text5. Area of the chart that graphically displays the data being charted.Select one:a. PivotTable b. Plot area c. Data marker d. Data label 6. ______________ is represents a data point or value that originates from a worksheet cell.Select one:a. Legend b. Data marker c. Data series d. Data label Question text7. Built-in tool in excel which helps you out to summarize selected rows and column of data in a…Problem Statement Given a text file of Zoom users wanting to attend a meeting, filter out a list of users with the domain name @my.fltech.com or @fltech.edu. Then print the list with names (last name, first name) of those with authenticated tech email. Print one name in each new line. Note: the file name is not given by "input()". Instead, assume a file named "zoom_attendees.csv" is available that you need to open/use. Sample Input: zoom_attendees.csv Jackson,Thompson,jackson.thompson@fltech.edu Mines,mines,luke.wallace@lycos.com David,Wright,david.wright@fltech.edu Nathaniel,Butler,nathaniel.butler@aol.com Sample Output Thompson, Jackson Wright, DavidQuestion and compiler output with error is provided in the attachment. And my solution is provided below. kindly correct my code and make it error-free also match output. -----MY SOLUTION----- MAIN.CPP #include<iostream>#include<string>#include<stdio.h>#include<fstream>#include<list>#include<iterator>#include<sstream>#include"UserBO.cpp"using namespace std;int main(){int num;cout<<"Enter the number of users:";cin>>num;string name;string contact;string uname;string password;User U[10];for(int i = 0; i < num; i++){cout<<endl<<"Enter the name of user :";cin>>name;cout<<endl<<"Enter the contact number :";cin>>contact;cout<<endl<<"Enter the username :";cin>>uname;cout<<endl<<"Enter the password :";cin>>password;User k(name, uname, password, contact);U[i] = k;}ofstream file;file.open("example.txt",ios::out);UserBO ub;ub.writeUserdetails(file, U, num);return…
- You are part of a team writing a system which keeps track of envelopes people sendthrough the postal system. The process begins when a person gives the envelope to apost office, at which point a barcode (containing all necessary information) is generated,and the envelope is labelled. Then, it is possible to keep track of the envelope betweendifferent cities/offices. The software has the following functions:i. generateBarcode()ii. createDatabaseRecord()iii. updateDatabaseRecord()iv. decodeBarcodeAndUpdateEnvelopPosition()v. getEnvelopPosition() (a) State and describe TWO types of beneficial module couplings that may be present inthis piece of software. (b) For each function, pick an example of possible module cohesion and explain the typeof that module cohesion. (c) We know that function updateDatabaseRecord() alters the actions of functioncreateDatabaseRecord(). State and describe the type of module coupling that exists inthe code containing these two functions.I need "comments" fo this whole code, for my better understanding. comment for every line. also i want this code to be separated in .cpp and. hpp files. thank you #include <iostream>#include <conio.h>#include <windows.h>#include <dos.h>#include <time.h>#include <graphics.h> #define MAXSNAKESIZE 100#define MAXFRAMEX 119#define MAXFRAMEY 29 using namespace std; HANDLE console = GetStdHandle(STD_OUTPUT_HANDLE);COORD CursorPosition; void gotoxy(int x, int y){CursorPosition.X = x;CursorPosition.Y = y;SetConsoleCursorPosition(console, CursorPosition);}void setcursor(bool visible, DWORD size) // set bool visible = 0 - invisible, bool visible = 1 - visible{if(size == 0){size = 20; // default cursor size Changing to numbers from 1 to 20, decreases cursor width}CONSOLE_CURSOR_INFO lpCursor;lpCursor.bVisible = visible;lpCursor.dwSize = size;SetConsoleCursorInfo(console,&lpCursor);} class Point{private:int x;int y;public:Point(){x = y = 10;}Point(int x,…Please answer the questions in Javascript using const readline = require('readline'); const conversionutils = require("./conversionutils"); const rl = readline.createInterface({ input: process.stdin, output: process.stdout }); 1.Creating a file called conversionutils.js. In this file, code the following functions: a. centi_to_milli: Takes a value for centimeters and returns the value in millimeters. b. meter_to_centi: Takes a value for meters and returns the value in centimeters. c. kilo_to_meter: Takes a value for kilometers and returns the value in meters. d. inch_to_centi: Takes a value for inches and returns the value in centimeters. e. feet_to_centi: Takes a value for feet and returns the value in centimeters. f. yard_to_meter: Takes a value for yards and returns the value in meters. g. mile_to_meter: Takes a value for miles and returns the value in meters. h. mile_to_kilo: Takes a value for miles and returns the value in kilometers. Make…
- Given list below: myNums = [-2, 28, 4, -2, 36, 2] Using the built-in functions, print the smallest value and the largest value in the list, myNums. Just make sure to precisely match the output format below.Write your code in the ANSWER area provided below (must include comments if using code is not covered in the course). Example OutputSmallest = -2Largest = 36It contains data for one movie on each line.Each Movie contains the following data items:Title(String), Year(int-4 digits), Runtime(double). Write Java program(s) to do the following:1) Read the movies.txt Text file and write the data as a Serialized file called movies.ser to the local directory(same as movies.txt).2) Read the movies.ser serialized file and output the data on to the Console in the format shown below. The spacing for the output is: Title(20), Year (8) and Runtime (10.2)Title and Year are left-justified, Runtime is right-justified.(You can use your own text file to test your program) Sample output: Title Year Runtime aaaaaaaaaaa aaaa aa.aa...... ...... ........... ...... .....xxxxxxxx xxxx xx.xxyyyyyyy yyyy yyy.yyPlease run this on linux, compile and look at the placement for row "Tangent". Match the numbers below tangent and make sure all the other row numbers are lining up with the other headings main.c #include <stdio.h>#include <math.h> #define M_PI 3.14159265358979323846 /** * Given a incrementVal value, this function will print a table of trigonometric values * from 0 to 360, in increments of the incrementVal value. * For example, if the incrementVal value is 90, the table will print values for 0, 90, 180, 270 and 360. * incrementVal - the degree value to use for the increment*/void displayTriTab(int incrementVal) { //Display the header for the table printf("\n\t--- TRIGONOMETRIC TABLE ---\n\n"); // Display the column headings for the table printf("%3s%10s%10s%10s%10s\n", "Degrees", "Radians", "sine", "cosine", "tangent"); printf("%3s%10s%10s%10s%10s\n", "-------", "-------", "------", "-------", "-------"); //Declare variables for radians, sine cosine,…
- I am having trouble running this code properly, I believe it has something to do with the location of my board.dat file, but am unsure how to exactly fix it. Upon running the code, I can not open file error. Attached is an image of what my board.dat text file looks like that is located on my desktop. #include<iostream> #include<fstream> #include<string.h> using namespace std; // function prototypes void Fire(char board[][25]); void FleetSunk(char board[][25], int&); int main() { // declaring board char board[25][25]; ifstream infile; // opening the input file infile.open("board.dat"); if (!infile) { cout << "Can not open file." << endl; } // taking input from file for (int i = 0; i < 25; i++) { for (int j = 0; j < 25; j++) { char bS; infile >> bS; board[i][j] = bS; } } int fS = 0; // calling functions do { Fire(board); FleetSunk(board, fS); } while (fS == 0); system("PAUSE"); } void Fire(char board[25][25]) { int row =…Transcribed Image Text - How many will the program write to the screen as a result of the following code? printf ("% d", (7-5) * 6-3 / 6); -Write the results of the functions below in the boxes next to them? log (abs (exp (1)) = sqrt (121) pow (4.3) = log10 (1000000) fmod (97.4) = fabs (-15.4) = sin (M_PI / 6) = cos (M_PI / 3) = 1/ tan (M_PI / 8) = floor (-11.8) = ceil (95.2)Write a program called HW2_Q1.py that asks a shop owner for product information and creates amenu system that allows customers to purchase multiple products of varying quantities. Theprogram should start by asking the shop owner’s name and company name. Next, it should ask forthree (3) products and their prices. Finally, it should display a menu. Use 2 functions for thisquestion. Namely:shop_details() – returns all required info for menu() functionmenu(product_1, price_1,product_2, price_2,product_3, price_3) - displaysthe menuBelow is a sample run of the program that demonstrates how your output could look (user input ishighlighted for emphasis):