Unsigned numbers do not have preceeding positive or negative signs. Hence, the program written in python 3 copies unsigned values in the given array to another array thus :
array1 = {-4,-1,-2,-1,0,1,2,3,4 }
#assigns a set of values to array 1
array2 = set()
#initialize an empty array
for ele in array1 :
#loop through the values in array1
if ele >= 0 :
#since the signed values are negative, checks for values greater than or equal to 0
array2.add(ele)
#add to array 2
print(array2)
A sample run of the program is attached.
Learn more : https://brainly.com/question/25706522
Problem: A company wants a program that will calculate the weekly paycheck for an employee based on how many hours they worked. For this company, an employee earns $20 an hour for the first 40 hours that they work. The employee earns overtime, $30 an hour, for each hour they work above 40 hours. Example: If an employee works 60 hours in a week, they would earn $20/hr for the first 40 hours. Then they would earn $30/hr for the 20 hours they worked overtime. Therefore, they earned: ($20/hr * 40hrs) + ($30/hr * 20 hrs) = $800 + $600 = $1400 total. For this assignment, you must create pseudocode and a flowchart to design a program that will calculate an employee’s weekly paycheck.
Answer:
something like that
Explanation:
static bunch of krap main (args) {
double hours;
double salary;
double overSalary;
print("Enter hours worked: ");
scan(hours);
if (hours <= 40) {
salary = 20 * hours;
}
if (hours > 40) {
overSalary = 30 * (hours - 40);
salary = 20 * 40 + overSalary;
}
print(salary);
}
In this exercise we have to use the knowledge of python to write a salary function, as follows:
the code is in the attached image.
In a more easy way we have that the code will be:
static bunch of krap main (args) {
double hours;
double salary;
double overSalary;
print("Enter hours worked: ");
scan(hours);
if (hours <= 40) {
salary = 20 * hours;
}
if (hours > 40) {
overSalary = 30 * (hours - 40);
salary = 20 * 40 + overSalary;
}
print(salary);
}
See more about python at brainly.com/question/26104476
evaluate the following expression using stack 14-(6-10)-10
The output of the expression using stack 14-(6-10)-10 is known to be 8.
What is a stack calculator?The Mine craft stack calculator is used for the above process. It helps to tell a person the amount of stacks of an item that a person is known to have with a specific total number of items.
Note that the The output of the expression using stack 14-(6-10)-10 is known to be 8 as it correct.
Learn more about expression from
https://brainly.com/question/723406
#SPJ2
the document area is where you save your file true or false
Answer:
A few popular places to save files are under “desktop” or “documents" and then in a specific folder. If you saved the file to your desktop, you do not need to go through finder to access it. You can simply minimize all your windows, and click on it there. Double click on the file and you're ready to open it.
Explanation: TRUE. A.
Which one of the following careers is the most highly resistant to economic change?
Video Game Designers
Airline Pilots
Fashion Designers
Funeral Attendants
Answer:
Video game designers bbbbbbbbbbbbb
The date of creation can be added to a slide using the:
a.
"Insert" tab, "Add note" group
b.
"Edit" group of the ribbon
c.
"Insert" tab, "Text" group
Answer:
The answer to your question is Insert tab Tex group.
The date of creation can be added to a slide by using the: "Insert" tab, "Text" group.
What is a slide?A slide refers to a single page of a presentation that is made up of text-based information or images, which can be used by a presenter to teach, instruct and educate the audience on a topic, subject matter, event or idea.
In Microsoft Powerpoint, an end user can add the date of creation to a slide by using the "Insert" tab, "Text" group.
Read more on slides here: https://brainly.com/question/11741377
#SPJ2
switches use resistors in series and parallel and can function well as digital inputs
to electronic control systems.
Select one:
O a. Proximity
O b. Smart
O C. Touch-sensitive
O d. Push button
Answer:
d push button bc it will cut all power when in off
characteristics of special computers
Speed, Accuracy, Diligence, Versatility, Reliability, and Memory!
what is the internet revolution?
Answer:B
Explanation:
Say yes if you hate edge2021?
Answer:
Yes I hate it
Explanation:
Yes it's simple
What is true about client-side scripting?
Answer:
A client-side script is a program that is processed within the client browser. These kinds of scripts are small programs which are downloaded , compiled and run by the browser. JavaScript is an important client-side scripting language and widely used in dynamic websites.
Explanation:
Client-side scripting refers to the execution of scripts on the client's device (typically in a web browser) rather than on the server.
Given that,
To write about client-side scripting.
Since, Client-side scripting simply means running scripts, such as JavaScript, on the client device, usually within a browser.
All kinds of scripts can run on the client side if they are written in JavaScript because JavaScript is universally supported.
Therefore, client-side scripting enables the execution of scripts on the client's device, enhancing web interactivity and reducing server load.
JavaScript is a widely used language for client-side scripting.
To learn more about scripting visit:
https://brainly.com/question/26121358
#SPJ4
It specifies the amount of memory needed to store data.
magbigay ng limang magandang lugar na tinatawag na tourist spot sa iyo sa inyong lugar o probinsya
Answer: Is it RAM? Random Access Memory
Explanation: Ram is used to reading/writing data. It might control the amount of memory that is stored.
Each computer on a network is called a __________, and it can include many different systems, such as desktop and laptop computers, printers, routers, switches, and cell phones.
A host refers to each of the computer system connected to a network and it include the following different systems:
Desktop Laptop computersPrintersRoutersSwitchesCell phonesWhat is a host?
A host can be defined as an electronic computing and programmable device that can be used to transmit and receive data (packets) over the Internet, especially when it is connected to a network.
This ultimately implies that, each electronic computing and programmable device (computer) on a particular network is a host and it can include many different systems such as:
Desktop Laptop computersPrintersRoutersSwitchesCell phonesRead more on computers here: https://brainly.com/question/17402566
What is software and what types of softwares?
Answer:
the programs and other operating information used by a computer
Explanation:
system software and application software
Answer:
Software is a group/collection of commands that tell a computer how to work/run. Software is the contrast for hardware which is a discussed topic in the software field.
Examples of software are, an Internet browser, Operating system, Movie player, Graphics program, etc.
Need help with Python coding...
2.14 LAB: Using math functions
Given three floating-point numbers x, y, and z, output the square root of x, the absolute value of (y minus z) , and the factorial of (the ceiling of z).
Output each floating-point value with two digits after the decimal point, which can be achieved as follows:
print('%0.2f %0.2f %0.2f' % (your_value1, your_value2, your_value3))
Ex: If the input is:
5.0
6.5
3.2
Then the output is:
2.24 3.30 24.00
Answer:
6.5
24.00
it think it's my answer
The operating system called Windows 7 is typically used for _____ a. Laptop computers b. Super computer c. All of the options d. Desktop computers
Answer:
all of these
Explanation:
,,,,,,,,,,,,,,,,
The operating system called Windows 7 is typically used for C All of these.
An operating system simply means a collection of programs that is vital for coordinating the operations of the computer software and hardware.
It should be noted that the operating system called Windows 7 is typically used for laptop computers, super computer, and desktop computers.
Therefore, the correct option is All of these.
Read related link on:
https://brainly.com/question/17252990
Create an 80x86 program that define an array of doubleword numbers then read two values, first one indicates how many actual numbers will be in the array, and an integer n. The program should display all of the numbers in the array that are greater than the number n.
The program requires user to read a specified number of values beyond a set limit from a given array. The program which performs this task is written in python 3 thus :
from random import randint
#import the randomint module
import random
#import the random module
double_list = [randint(11, 99) for p in range(0, 10)]
#randomly selects a list of 10 double integer values
def rand_num(lis, n_values , n):
#initialize a function named rand_num which takes in 3 parameters
filter = [val for val in lis if val > n]
#filters the variables to contain those only greater than the specified limit
arr_ = random.sample(filter, n_values)
#using the sample function, select the stated number of values from the filtered list
return arr_
#return the selected values
n_values = int(input('Enter number of values : '))
#prompts user for the length of array
n = int(input('Enter limit : '))
#prompts user for the limit of the values to be included in the array
print(rand_num(double_list, n_values, n))
#A sample run of the program is given and output attached.
Learn more :https://brainly.com/question/25434178
Activity 4 - Accomplishing the Scoring Card Direction: Evaluate yourself by checking the appropriate boxes to indicate the degree of competency in nail care tools and equipment.
pls help guys:-(
The score that will be given to the identification of nail care tools, materials, and equipment will be 15.
Nail cure tools and equipment are the tools that are used for taking care of the nails. These include a nail file, nail clipper, nail cleaner, nail brush, etc.
The score that will be given to the identification of nail care tools, materials, and equipment is 15. The demonstration of knowledge on the safety practices of nail care tools, materials, and equipment will be 15 while the classification will be 10.
In conclusion, the total score will be 40.
Read related link on:
https://brainly.com/question/25711916
Suppose you are in charge of unloading containers from ships arriving at a port onto trucks. A ship arrives with n containers of weight w1, w2, . . . , wn tons. Standing on the dock is a set of trucks, each of which can hold 1 ton of weight. (You can assume that none of the containers weighs more than 1 ton, since in this case you would not be able to transport it.) You can stack multiple containers in each truck subject to the weight restriction of 1 ton. Hoping to minimize your truck rental expenses, you aim to minimize the number of trucks needed in order to carry all the containers.
You start with the following greedy strategy. Start with an empty truck and begin loading containers 1, 2, 3, ... onto it until you get to a container that would overflow the weight limit. Now, declare this truck "loaded" and send it off; then continue the process with a fresh truck. After trying (and failing) to prove that this greedy algorithm is optimal, you decide to attempt to come up with a counter-example to see if you can discover that your strategy is not optimal.
Required:
Provide an example of a set of weights for which your algorithm does not use the minimum possible number of trucks.
Answer:
i thinks a , i hope it help you
Explanation:
Choose a project with a relatively simple description (e.g. building a LAN,
designing a business web page, inventing a new communication device,
etc.). Describe your project scope in 100 words and then identify at least
five significant varied risks associated with the project. Be sure that at
least one of them is a positive risk
Answer:
Design a web page
Explanation:
It is easier html is a very easy language to learn css it should take ou about a week for a solid website
which one is larger in size. a word document file or a pdf file?
Answer:
Pdf file is larger than document file
Explanation:
.
Which among the following statements is not related to Capgemini
Intelligent Automation Platform (CIAP)?
loly
lov
OCIAP is built with a cloud-first approach
The functionality of the platform can be used and managed from a
command tower
ere i
Capgemini Intelligent Automation Platform is service agnostic
sha
The orchestration functionality of the platform is decentralised
O The platform's functional capabilities are enhanced by our fast Track Hub
10:2
IClick Submit o veri
LIL
:
Answer:
The platform's functional capabilities are enhanced by our fast Track Hub
Evaluate the expression using stack 14-(6-10)-10
Answer:
14 -(6-10)-10
14-(-4)-10
18-10
= 8
2. PJM Bank has a head office based in Bangalore and a large number of branches nationwide. The
headoffice and brances communicate using Internet. Give two features of Internet.
Answer:
Two features of the internet are that internet is a collection of computers which help in the sharing of information.
Most of the home users of internet make use of cable or phone modem, or a DSL connection in order to connect the internet.
Computers that save all of these web pages are referred to as the web servers.
Explanation:
1. most of the home users of internet make use of cable aur phone modern or a DSL connection in order to conduct the internet .
2. computers that save all of these web pages are referred to as the web servers.
(Hope this helps can I pls have brainlist (crown)☺️)
what does project manager do?
A keyboard would be considered _____. Select 2 options.
an input device
storage
an output device
software
hardware
Answer:
input devise and hardware
Explanation:
what is the difference b\w computer science and IT
Answer:
IT involves working both with hardware e.g CPUs, RAM, hard disks and software e.g mobile application. While
computer science deals with the development and testing of software and software systems.
Match each word to its correct meaning.
central processing unit
file
graphical user interface
hardware
interrupts
kernel
memory
Answer:
Central Processing Unit (CPU)
=
The chip that runs the basic operations of the computer, abbreviated CPU
File
=
a collection of data, such as a program or document
Graphical User Interface (GUI)
=
images displayed on the screen that enables the user to interact with the computer
Hardware
=
Physical parts of the computer, such as the motherboard or hard disk
Interrupts
=
Breaks in the action of a program using the operating system
Kernel
=
Core program of a computer operating system
Memory
=
Format for storage of digital data
Hope this helps :)
vA student found a book on the library bookshelf last week, and recorded the source information.
Book title: My Traitor’s Heart Author: Rian Malan
Publication date: 1990 Publisher: Bodley Head Publication city: London
Use the drop-down menus to indicate how the student should format this source on a works-cited list.
My Traitor’s Heart.
London:
Answer:
3,1,2,1
Explanation:
got it right on edge
have a nice day
:)
Answer:
1. Malan, Rian
2. London:
3. Bodley Head, 1990
4. Print
Explanation:
did it
An application maintains social security numbers and birth dates in a database to track medical records across multiple offices. To maintain the personally identifiable information (PII), which of the following de-identification methods should the application adopt?
There are different ways of management. To maintain the personally identifiable information (PII), Data masking as an de-identification methods should the application adopted.
Data masking is also called data obfuscation. This is simply known as the way of improving or modifying sensitive data so that it has no/little value to unauthorized intruders while still being usable by software or authorized personnel.
It often functions by shielding confidential data, such as credit card information, Social Security numbers, names, addresses, and phone numbers etc.
Learn more from
https://brainly.com/question/13438921
1. Briefly summarize the similarities and differences among temporary staffing firms, employee leasing organizations, and professional employment organizations. Which approach pro- vides an organization the most protection from potential coemployment situations?
A staffing firm simply refers to an organization that matches companies and job candidates. It's also known as a recruiting firm.
It should be noted that employers use staffing agencies to help recruit candidates for them and to fill certain job openings.
An employee leasing organization furnishes workers to another client on a long-term basis. It's usually a contractual agreement between the parties that are involved.
A professional employer organization simply means an organization that enters into a joint employer relationship with another employer by leasing employees to the employer.
The organization that typically gives protection from potential coemployment situations is the temporary staffing firms.
Read related link on:
https://brainly.com/question/25747300