e = %3D
Q: Computer Networks are now very essential for business. Elaborate thestatement in your own words and ...
A: computer network is very important in organization , you can say it as boon for technological era. c...
Q: Which one of the following (3 ? variable is initial correctly bool x= True; O None
A: bool x=True is wrong syntax because it will assign capital ‘t’ in True but it will syntax error bec...
Q: Go to the Horizontal Navigation List Styles section. Karen has added a second navigation list that s...
A: Horizontal Navigation List Styles CSS style rule: For displays the items as blocks with a width of 1...
Q: In this task by using java language you should create the moving box example belwo, then you should ...
A: Program: import java.awt.BorderLayout;import java.awt.Color;import java.awt.Dimension;import java.aw...
Q: Artificial Intelligence (Exercise - 1) ====================== Explain why hill climbing would be cla...
A: Given: Explain why hill climbing would be classified as a greedy algorithm ? What are the drawbacks ...
Q: Q5: Write relational expressions to express the following conditions (using variable :names of your ...
A: C++ like relational expressions are defined for use as boolean arguments to procedures and for use w...
Q: Outline the advantages of a PLC system over a traditional control system.
A: Actually, given question regarding advantages of a PLC system over a traditional control system.
Q: Deep knowledge in Microsoft excel is considered a necessary skill but not a sufficient skill the mod...
A: Microsoft excel is a spreadsheet application tool that analyses data in a table format using formula...
Q: Write a C++ program to read two numbers and swap these two numbers
A: Required: Required code with comments for explanation and screenshot of both code and output has ...
Q: Write a program to determine the price for a portrait sitting. The price is determined by subjects i...
A: Program to determine the price for a portrait sitting: #include <bits/stdc++.h> using namespac...
Q: 15 A student will not be allowed to sit in exam if his/her attendance is less than 75%.Take followin...
A: Logic:- take input number of classes held take input number of classes attended. calculate percent...
Q: Q2 Anwser the qustions in detail 1.1)What is the IP address of www.yahoo.com? 1.2)What command is us...
A: 1.1 The ip address of yahoo is 230.32 . You can find this using the tracert command in the command...
Q: اكتب برنامج بلغة ++C يقوم بقراءة اسم الطالب والمرحله ويحسب معدل درجاته في سبع مواد باستخدام الدوال
A: 1.create a main function. 2. take name and roll no of the student from user. 3. call average fuction...
Q: What makes a good use case? Share some characteristics of use cases.
A: What makes a good use case?And also share some characteristics of use cases.
Q: In this task by using java language , you should create the moving box example belwo, then you shoul...
A: Required: Java code to draw a rectangle and change the color when it hit edges. Code is given in...
Q: 1. Design a class named Square to represent a square. The class contains: One double data field name...
A: The solution involves use of classes, constructors and basic input-output operations.
Q: How would I fix this to get it looking like output #2? //Animal.cpp is the main function file of the...
A: Actually, program is an executable software that runs on a computer.
Q: Write C program to find the result of X in the following equation
A: Write C program to find the result of X in the following equation X = A + A^3 + A^5 + A^7 +... + A^...
Q: explain c language
A: Please find the answer below :
Q: Your program should ask the user to enter a 4 character string representing the time in 24 hr format...
A: Actually, given information Your program should ask the user to enter a 4 character string represen...
Q: Order the following functions by growth rate: n-n+ 7n', n log n, 2"2, n’, 5 log n, n'2+ log n, log (...
A: The comparisons of various time complexities are as follows : O(1) < O(loglog n) < O(log n) &l...
Q: *In C program, what is wrong with the following function? int integer_add( int x, int y, int z ) { ...
A: Answer: The function has a syntax error. Explanation: The given function accepts three-parameters ...
Q: Convert the following decimal numbers into Hex and Octa I (125)10 (624)10
A: 16| 125 16| 7 - D | 0 - 7 (125)10 = (7D)16
Q: Generate three address code for the given expression. Also provide different data structure represen...
A: t1 = x + y t2 = z - y t3 = t1 * t2 t4 = y / x t5 = t3 / t4
Q: Write an anonymous block to read two numbers from the keyboard, then find out what's the maximum bet...
A: REQUIRED: Write an anonymous block to read two numbers from the keyboard, then find out what's the m...
Q: Which of the following is correct • scanf("%d %c", &Char, &INt); • scanf("%lf", average); • scanf("%...
A: scanf () is a function defined in library stdio.h (standard input output) Here scanf() is used to ac...
Q: Develop a Library Management system for borrowing and returning activities The basic classes could...
A: An interface is a reference type in Java, it is similar to class, it is a collection of abstract met...
Q: subject name is "DIGITAL ELECTRONICS" 1: perform the given tasks: A) subtract last four digits of 12...
A: Since you are asking multiple questions, we are answering first question for you. If you want explan...
Q: - Define X as an array from -3. to 5*pi in 1045 steps. Write proper python syntax
A: NumPy arrange() is one of the array creation routines based on numerical ranges. It creates an insta...
Q: You have a computer that runs on a Windows 10 operating system and supports Modern Sleep. What will ...
A: You have a computer that runs on windows 10 operating system and supports Modern Sleep. What will ha...
Q: fassstttt
A: Instruction :- SLLV $a2 $s3 $t9 Binary: 00000011001100110011000000000100 Hex: 0x03333004 ...
Q: Let’s say you have two SQL tables: authors and books The authors dataset has 1M+ rows; here’s the fi...
A: Given: Let’s say you have two SQL tables: authors and books The authors dataset has 1M+ rows; here’s...
Q: Using JAVA
A: Actually, java is a object oriented programming language. It is a platform independent.
Q: Paint Job EstimatorA painting company has determined that for every 115 square feet of wall space,1 ...
A: Steps to create a Form Steps to create a Form: Create a Form and set the “Text” property to “Paint...
Q: write a code segment to print the numbers between 2 to 20 that are divisible by 4 without remainder
A:
Q: 1. Positive or Negative? When you're feeling good, they call you positive. But when you're feeling d...
A: Please find the answer below :
Q: how to fix this?
A: I am providing the code which is running fine in dev c++ compiler. This program is build for taking ...
Q: Write a complete C program for the following question Write C program to find the result of * X in t...
A: ALGORITHM:- 1. Take the value of A from user. 2. Take the value of n from user. 3. Calculate the ser...
Q: Suppose you have an executable code that installs software on a windows system. Which category of ma...
A: According to the question we have a situation in which we have an executable code that installs soft...
Q: Q1 Anwser the qustions in detail |1.1)What MS-DOS command is used to shift to a different working di...
A: Answer: The command is "cd" -stands for change directory EXAMPLE: To come to one step back we use "...
Q: ähäi 16 Write C program to find the result of * X in the following equation X = A + A3 + A5 + A7 + ....
A: Algorithm: 1. Start 2. Read A value 3. Read n (an odd number) 4. Initialize i=1,X=0 Traverse through...
Q: Transform “(p ≡q) •(q ⊃ r • -p)” into conjunctive normal form; then simplify the normal form as much...
A: Answer: Let us consider: = (p≡ q ).(q⊃r.~p) = {(p⊃ q).(q ⊃p)} . (q⊃(r.~p)) ---> Equivalence = {(...
Q: in this task you should create the figure below by using java language and when the box inside the w...
A: Java is a programming language. It contains extensive libraries (package). It can be used to create ...
Q: There are two main systems for measuring distance, weight and temperature, the Imperial System of Me...
A: Programming is a way to instruct the computer devices to operate. Every computer needs a set of ins...
Q: Write C program to find the result of X in the following equation
A: The algorithm to find the result of X using the given equation is: Start Read A Read n Set i=1 Set ...
Q: Q) using C++ 1- What are the operations for the priority queue ADT? 2- Compare the performance of pr...
A: To find : Operations possible on Priority Queue Data Structure Comparison of priority queue formed...
Q: ..1)What is the IP address of www.yahoo.com? ..2)What command is used to view the current file type ...
A: It is defined as a unique address that identifies a device on the internet or a local network. IP st...
Q: Q :For instance, what happens if a client connects to SimpleWebServer, and sends a carriage return a...
A: Introduction and Working: Simple Web Server: A web server may be a pc that runs websites. it is a b...
Q: Example 5: Write a program to use a model of employee class (its data are: name, age, and department...
A: #include<iostream>using namespace std;class employee //employee class model{ private: stri...
Q: what the output from executes this program
A: Language used - C++ In this program we have calculate the sum of odd numbers between 20 and 300
![Given the following code
double discount;
char code = 'b' ;
switch ( code )
{
case 'a':
case 'A':
discount = 0.0;
break;
case 'b':
case 'B':
discount = 0.1;
break;
case 'c':
case 'C':
discount = 0.2;
break;
default:
discount = 0.3;
}
What value is assigned to discount](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fba28fbe0-fc04-46bc-bd01-9a9731588fb8%2F5523e2fa-43dc-458e-b7a0-f621c74fad11%2Fcl5sndd_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 3 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
- Customer c1 = new Customer("user", "pass"); c1.setPassword("changeme"); Customer c1 = new Customer("user","pass"); c1.password("changeme"); Customer c1 = new Customer("user", "pass"); c1.password = c1.setPassword("changeme"); Customer c1 = new Customer("user","pass"); c1.password = "changeme";data newprice; infile 'raw-data-file'; input mfg $ type $ price; length saletype $ 18; if mfg='Crew' then do; pct=0.75; saleprice = price * pct; saletype = '25% off'; end; else if mfg='Hi-fly' then do; pct=0.70; saleprice = price * pct; saletype = '30% off'; end; else do; pct=0.90; saleprice = price * pct; saletype = '10% Storewide Sale'; end; format price saleprice dollar8.2; run; Why is the word ELSE used? Why are the DO blocks needed? What stops each DO block? Will the value of pct ever be missing in the data set?QUESTION 21 int x1=200; int y1=3003; int z1, z2, z3, z4; int d1, d2, d3; _asm{ mov EAX, x1; 200 mov EBX, y1; 300 mov z1, ESP; assume initial ESP: OFFF FFEA add EAX, x1; 400 push EAX; mov d1, EAX:400 mov z2, ESP; push EBX; SUB EBX, x1; 300-200=100 mov d2, EBX; mov 23, ESP; POP ECX; MOV d3, ECX; MOV z4, ESP; POP EDX; mov d4, EDX; What is z3 in Hexidecimal? O OFFF FFEA O OFFF FFE6 OFFF FFE2 OFFF FFEE
- def main(): monthlySales = getSales() printbonus=print_bonus(storeAmount,empAmount) #This function gets the monthly salesdef getSales(): monthlySales = float(input('Enter the monthly sales $')) monthlySales = getSales() #call to get sales salesIncrease = getIncrease(monthlySales) return monthlySales #This function gets the percent of increase in salesdef getIncrease(monthlySales): storeAmount = storeBonus(monthlySales) salesIncrease = float(input('Enter percent of sales increase: ')) salesIncrease = float(salesIncrease) salesIncrease = salesIncrease / 100 return salesIncrease #This function determines the storeAmount bonusdef storeBonus(monthlySales): if monthlySales >= 110000: storeAmount = 6000 elif monthlySales >= 100000: storeAmount = 5000 elif monthlySales >= 90000: storeAmount = 4000 elif monthlySales >=80000: storeAmount = 3000 else: storeAmount = 0 return storeAmount #This function…data newprice; infile 'raw-data-file'; input mfg $ type $ price; length saletype $ 18; if mfg='Crew' then do; pct=0.75; saleprice = price * pct; saletype = '25% off'; end; else if mfg='Hi-fly' then do; pct=0.70; saleprice = price * pct; saletype = '30% off'; end; else do; pct=0.90; saleprice = price * pct; saletype = '10% Storewide Sale'; end; format price saleprice dollar8.2; run; What is the byte size of pct? What stops each DO block? Will the value of pctever be missing in the data set?9 = ; Y= 5 50 18 100 81 Cul culate, Loss,L= mse (7,9) Note: mse = mean squane ennoto 对5 经
- 13. Factorial Implementation What is incorrect with the following implementation of factorial: def factorial(n): return n* factorial(n-1) Pick ONE option Nothing is wrong The return value should be n+ factorial(n-1) The return value should be factorial(n-1) * factorial(n-2) ) A base case is missing Clear Selection loxituNote: passing value without return anythingArrange the following code in order: public MY_VALUE int static final = 10
- Payment = Principal [rate ((1 + rate)months)] [(rate + 1)months - 1] For the formula to compute monthly payment, see Listing 2.9, ComputeLoan.java. (Financial application: loan amortization schedule) The monthly payment for a given loan pays the principal and the interest. The monthly interest is computed by multiplying the monthly interest rate and the balance (the remaining princi- pal). The principal paid for the month is therefore the monthly payment minus the monthly interest. Write a program that lets the user enter the loan amountWhen a value is assigned to anything using the Assignment operator, what precisely does this imply?Define returning a value
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)
![Microsoft Visual C#](https://www.bartleby.com/isbn_cover_images/9781337102100/9781337102100_smallCoverImage.gif)
![Programming with Microsoft Visual Basic 2017](https://www.bartleby.com/isbn_cover_images/9781337102124/9781337102124_smallCoverImage.gif)