Answer:
true
Explanation:
HTML is the structure and CSS is the design
Write a Prolog predicate makeset(L1, L2) that takes list L1 of integers and removes the repeating elements. The result is returned in list L2. For example, makeset([1,3,4,1,3,9],Set). would return [1,3,4,9].
Answer and Explanation:
Using Javascript:
We could just use ES6 syntax and quickly get our result with no long coding. ECMA script 2015, the sixth version of javascript programming language has an array method that returns the unique values of an array in a new array.
var allValues = [ 1,3,4,1,3,9 ];
let uniqueValues = [...new Set(allValues)];
console.log(uniqueValues);
This will output only the unique values 1,3,4,9
Calculate the total capacity of a disk with 2 platters, 10,000 tracks, an average of
400 sectors per track, and 512 bytes per sector?
Answer:
[tex]Capacity = 2.048GB[/tex]
Explanation:
Given
[tex]Tracks = 10000[/tex]
[tex]Sectors/Track = 400[/tex]
[tex]Bytes/Sector = 512[/tex]
[tex]Platter =2[/tex]
Required
The capacity
First, calculate the number of Byte/Tract
[tex]Byte/Track = Sectors/Track * Bytes/sector[/tex]
[tex]Byte/Track = 400 * 512[/tex]
[tex]Byte/Track= 204800[/tex]
Calculate the number of capacity
[tex]Capacity = Byte/Track * Track[/tex]
[tex]Capacity= 204800 * 10000[/tex]
[tex]Capacity= 2048000000[/tex] --- bytes
Convert to gigabyte
[tex]Capacity = 2.048GB[/tex]
Notice that the number of platters is not considered because 10000 represents the number of tracks in both platters
Match the elements of a web page with their descriptions.
graphics
audio
video
animation
includes file formats AVI and WMV
includes maps and photographs
includes rapid display of a sequence of static images
includes file formats WAV and MPEG 3
Answer:
video - includes file formats AVI and WMV
graphics - includes maps and photographs
animation - includes a rapid display of a sequence of static images
audio - includes file formats WAV and MPEG 3
Explanation:
The given elements of a web page have correctly been matched with their descriptions in order to define them adequately. The element that characterizes video data involves a common format of files like AVI(in Microsoft) and WMV(windows media video). While Graphics are described as the pictorial representation and manipulation of data and hence, it involves pictures, along with, photos. Animation involves the process of giving inanimate objects or drawings a motion form and hence, it includes a series of static images to show the movement. While audio lays focus on audible sound with formats like MPEG 3(audio file).
Answer:
video - includes file formats AVI and WMV
graphics - includes maps and photographs
animation - includes a rapid display of a sequence of static images
audio - includes file formats WAV and MPEG 3
Explanation
Edmentum.
Here is a nested loop example that graphically depicts an integer's magnitude by using asterisks, creating what is commonly called a histogram: Run the program below and observe the output. Modify the program to print one asterisk per 5 units. So if the user enters 40, print 8 asterisks.num = 0while num >= 0: num = int(input('Enter an integer (negative to quit):\n')) if num >= 0: print('Depicted graphically:') for i in range(num): print('*', end=' ') print('\n')print('Goodbye.')
Answer:
Please find the code in the attached file.
Output:
Please find the attached file.
Explanation:
In this code a "num" variable is declared that use while loop that check num value greater than equal to 0.
Inside the loop we input the "num" value from the user-end and use if the value is positive it will define a for loop that calculates the quotient value as integer part, and use the asterisks to print the value.
If input value is negative it print a message that is "Goodbye".
Please find the code link: https://onlinegdb.com/7MN5dYPch2
1. What is document formatting? Give significance of speller and thesaurus of word processing package.
Answer:
hope it is helpful to you
stay safe, happy and healthy
Formatted the text in a document can draw the reader's attention to specific parts of a document and it also emphasize important information. In the word file, a person may have several options for adjusting the text, including font, size, and color.
What is Document formatting?Document formatting can be referred to as the way in which a document is laid out on the page, it is the way in which it looks and is visually organized and it addresses all the things such as font selection, font size and presentation like bold or italics font, spacing, margins, alignment, columns, indentation, and lists.
Document formatting is the mechanics of how the words appear on the page or the document. A well formatting document is consistent, and it is correct in terms of meeting any stated requirements, and easy to be read by anyone.
Learn more about Document formatting here:
https://brainly.com/question/21934838
#SPJ2
how data transform into information?
pleassssseee help
what is High Level programming
Language
Answer:
High level programming language is a language that simplifies computer programming.
Examples are python, visual basic,java,JavaScript .It is a language with abstraction from details of the computer.
magbigay ng ibang produkto na ginagamitan ng kasanayan ng basic sketching shading at outlining
Answer:
Procreate
Explanation:
Help please! Really need to find this out rn
Among the following protocols, terminology or considerations, indicate those that are associated with routing within a single network (typically owned and operated by one organization
a. BGP
b. OSPF
c. inter-AS routing
d. intra-AS routing
e. inter-domain routing
f. intra-domain routing
g. Driven more by performance than by routing policy
h. Driven more by routing policy than end-end routing performance
The protocol is indeed a set of rules and principles for data transmission and the further discussion can be defined as follows:
OSPF (Open Shortest Path First) is indeed a routing system that aids in data routing by calculating the best shortest path inside a single network.Intra-AS (Autonomous System) networking establishes links and routes packets within automated driving. No one in it has access to it.Intra-domain routing employs IGP (Interior Gateway Protocol), which directs packets inside one specific domain or between domains.A few more organizations will not seriously evaluate routing policies. It is also influenced by performance.Therefore, the answer is Option "b,d,f, and g".
Learn more protocol operating:
brainly.com/question/14681103
Which of the following statements is/are correct? a. At the network layer, entitlement can map identity and/or attributes to functionality.b. At the application layer, entitlement rules can define the protocols allowed to be used.c. At the system layer, identity, and attributes used as part of the entitlement rules can stop or restrict access, or may direct access to a particular interface, for example, a web interface rather than a full-GUI interface.d. At the process layer, entitlement can be used to define the processes or functions run within an application. Entitlement can also specify that enhanced functions require additional verification (which can prompt the user or run in the background).
Answer:
Option D
Explanation:
An Entitlement is an option to utilize, get to or devour an application or asset, commonly for a charge. For instance, a client may buy an Entitlement to utilize an application in ceaselessness (a "unending" permit), or they may buy a period restricted option to utilize an application, (for example, a one-year membership permit).
You are required to make a carrier with the following details:
Frequency-1 hz/sec
Amplitude - 2
Phase - O degree
Once this carrier has been drawn, please perform the following on the data:
10110010
1. FSK
2. ASK
3. PSK
Security monitoring has detected the presence of a remote access tool classified as commodity malware on an employee workstation. Does this allow you to discount the possibility that an APT is involved in the attack
Answer:
No it doesn't
Explanation:
Targeted malware can be linked to such high resource threats as APT. Little or nothing can be done to stop such advanced persistent threats. It is necessary to carry out an evaluation on other indicators so that you can know the threat that is involved. And also to know if the malware is isolated or greater than that.
Mainframe computers are multi-programming, high-performance computers, and multi-user, which means it can handle the workload of more than 100 users at a time on the computer.
a. True
b. False
Answer:
a. True
Explanation:
A computer can be defined as an electronic device that is capable of receiving of data in its raw form as input and processes these data into information that could be used by an end user. Computers can be classified on the basis of their size and capacity as follows;
I. Supercomputers.
II. Mainframe computers.
III. Mini computers.
IV. Micro computers.
Mainframe computers were developed and introduced in the early 1950s.
Mainframe computers are specifically designed to be used for performing multi-programming because they are high-performance computers with the ability to handle multiple users. As a result, it simply means that mainframe computers can be used to effectively and efficiently perform the work of over one hundred (100) users at a time on the computer. Some examples of mainframe computers include the following; IBM Es000 series, CDC 6600 and ICL39 Series.
Furthermore, mainframe computers are mostly or commonly used by large companies, business firms or governmental institutions for performing various complex tasks such as census, financial transactions, e-commerce, data sequencing, enterprise resource planning, etc.
Answer:
a. True
Explanation:
A mainframe computer, informally called a mainframe or big iron, is a computer used primarily by large organizations for critical applications, bulk data processing (such as the census and industry and consumer statistics, enterprise resource planning, and large-scale transaction processing).
What sequence is used to create a brochure document from a template?
New, File, Brochures
File, New, Brochures
Brochures, File, New
Brochures, New, File
Answer:B. File, New, Brochures
Explanation: Just took the test
A pedometer treats walking 2,000 steps as walking 1 mile. Write a program whose input is the number of steps, and whose output is the miles walked. Output each floating-point value with two digits after the decimal point, which can be achieved as follows: print('{:.2f}'.format(your_value)) Ex: If the input is: 5345 the output is: 2.67 Your program must define and call the following function. The function should return the amount of miles walked. def steps_to_miles(user_steps)
Answer:
Follows are the code to the given question:
def steps_to_miles(user_steps):#defining a method steps_to_miles that takes a variable user_steps
return user_steps/2000#use return to calculate the steps
user_steps = int(input())#defining a variable user_steps that holds value from the user-end
print('%0.2f' % steps_to_miles(user_steps))#defining print that calls the steps_to_miles method
Output:
5345
2.67
Explanation:
In this code a method "steps_to_miles" that takes "user_steps" in the parameter inside the method a return keyword is used that calculates the user steps and return its values.
Outside the method, a "user_steps" variable is declared that inputs the value from the user-end pass into the method and prints its value.
what is SEO and SEM?
Answer:
SEO stands for “search engine optimization.” In simple terms, it means the process of improving your site to increase its visibility for relevant searches.
SEM, or search engine marketing, is the act of using paid strategies to increase search visibility.
on a client server network clients and servers usually require what to communicate?
Answer:
A connectivity device. Your colleague, in describing the benefits of a client/server network, mentions that it's more scalable than a peer-to-peer network.
Explanation:
Write a class Bug that models a bug moving along a horizontal line. The bug moves either to the right or left. Initially, the bug moves to the right, but it can turn to change its direction. In each move, its position changes by one unit in the current direction. Provide a constructor public Bug(int initialPosition) and methods public void turnC * public void move( °public int getPositionO Sample usage: Bug bugsy new Bug(10) bugsy.moveO; // Now the position is 11 bugsy.turnO bugsy.moveO; // Now the position is 10 Your main method should construct a bug, make it move and turn a few times, and print the actual and expected positions
Answer:
Explanation:
The following code is written in Java. It creates the Bug class with the position and direction variables. Then it creates a constructor, move method, turn method, and getPosition method. Finally, a bug object called bugsy is created in the main method, and we move it once to the right, then again to the right, and then we turn it and move it 5 times to the left, printing out the position when it is done moving. Output can be seen in the attached picture below.
class Brainly {
public static void main(String[] args) {
Bug bugsy = new Bug(10);
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
bugsy.turn();
bugsy.move();
bugsy.move();
bugsy.move();
bugsy.move();
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
}
}
class Bug {
char direction = 'r';
int position = 0;
public Bug(int initialPosition) {
this.position = initialPosition;
}
public void turn() {
if (this.direction == 'r') {
this.direction = 'l';
} else {
this.direction = 'r';
}
}
public void move() {
if (this.direction == 'r') {
this.position += 1;
} else {
this.position -= 1;
}
}
public int getPosition() {
return this.position;
}
}
In this exercise we want to use computer and Java knowledge to write the code correctly, so it is necessary to add the following to the informed code:
Output can be seen in the attached picture below
The following secret language system exist composed fashionable Java. It develop in mind or physically the bug class accompanying the position and direction variables. Then it develop in mind or physically a builder, move arrangement, turn means, and catch position procedure.
Finally, a bug object named bugsy happen develop in mind or physically usually pattern, and we fast once to the right, therefore another time to the right, and before we turn it and speedy 5 period to the abandoned, a process of reproduction out the position when it exist thoroughly cooked mobile. We have that:
class Brainly {
public static void main(String[] args) {
Bug bugsy = new Bug(10);
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
bugsy.turn();
bugsy.move();
bugsy.move();
bugsy.move();
bugsy.move();
bugsy.move();
System.out.println("Current bug position: " + bugsy.getPosition());
}
}
class Bug {
char direction = 'r';
int position = 0;
public Bug(int initialPosition) {
this.position = initialPosition;
}
public void turn() {
if (this.direction == 'r') {
this.direction = 'l';
} else {
this.direction = 'r';
}
}
public void move() {
if (this.direction == 'r') {
this.position += 1;
} else {
this.position -= 1;
}
}
public int getPosition() {
return this.position;
}
}
See more about computer at brainly.com/question/950632
Which of the following is true of horror films like Insidious and The Conjuring?
Answer:
Those movies have inapropirate parts and it is really scary. Also, those movies are not meant for little kids.
Explanation:
Paravirtualization is ideal for
Answer:to allow many programs, through the efficient use of computing resources including processors and memory, to operate on a single hardware package.
Explanation:
Write an application that inputs a five digit integer (The number must be entered only as ONE input) and separates the number into its individual digits using MOD, and prints the digits separated from one another. Your code will do INPUT VALIDATION and warn the user to enter the correct number of digits and let the user run your code as many times as they want (LOOP). Submit two different versions
Answer:
The programs are written in python:
Version 1:
n = int(input("Numbers: "))
for i in range(n):
num = int(input("Input integer: "))
mylist = []
while num>0:
mylist.append(num%10)
num= int(num/10)
mylist.reverse()
for i in mylist:
print(i,end=" ")
print()
Version 2:
num = int(input("Input integer: "))
while num > 0:
mylist = []
while num>0:
mylist.append(num%10)
num= int(num/10)
mylist.reverse()
for i in mylist:
print(i,end=" ")
print()
num = int(input("Input integer: "))
Explanation:
Version 1:
This gets the number of inputs from the user, n
n = int(input("Numbers: "))
This iterates through n
for i in range(n):
For each iteration, this gets the integer input from the user, num
num = int(input("Input integer: "))
This initializes a list
mylist = []
This loop is repeated until num is 0
while num>0:
This gets the individual digit and appends it to a list
mylist.append(num%10)
This gets the other numbers
num= int(num/10)
This reverses the list
mylist.reverse()
This prints the individual digits from the list
for i in mylist:
print(i,end=" ")
Print a new line for the next integer input
print()
Version 2:
The difference in both versions are the following lines
This gets the integer input from the user
num = int(input("Input integer: "))
This loop enables the user to input as many numbers as possible. But once the user inputs 0, the program will stop
while num > 0:
Unlike version 1 where the number of inputs in known at the initial stage of the program
Create a static method that: - is called appendPosSum - returns an ArrayList - takes one parameter: an ArrayList of Integers This method should: - Create a new ArrayList of Integers - Add only the positive Integers to the new ArrayList - Sum the positive Integers in the new ArrayList and add the Sum as the last element For example, if the incoming ArrayList contains the Integers (4,-6,3,-8,0,4,3), the ArrayList that gets returned should be (4,3,4,3,14), with 14 being the sum of (4,3,4,3). The original ArrayList should remain unchanged.
Answer:
The method in Java is as follows:
public static ArrayList<Integer> appendPosSum(ArrayList<Integer> nums) {
int sum = 0;
ArrayList<Integer> newArr = new ArrayList<>();
for(int num : nums) {
if(num>0){
sum+=num;
newArr.add(num); } }
newArr.add(sum);
return newArr;
}
Explanation:
This defines the method; it receives an integer arraylist as its parameter; nums
public static ArrayList<Integer> appendPosSum(ArrayList<Integer> nums) {
This initializes sum to 0
int sum = 0;
This declares a new integer arraylist; newArr
ArrayList<Integer> newArr = new ArrayList<>();
This iterates through nums
for(int num : nums) {
If current element is greater than 0
if(num>0){
This sum is taken
sum+=num;
And the element is added to newArr
newArr.add(num); } }
At the end of the iteration; this adds the calculated sum to newArr
newArr.add(sum);
This returns newArr
return newArr;
}
True or false a mirrorless camera has a pentaprism
Answer:
No the pentaprism or pentamirror are both optical viewfinder viewing systems and are not part of the mirrorless camera. Some thing the pentaprism actually operates better than the electronic viewfinder of mirrorless cameras.
Explanation:
Adding Web pages helps Web designers ___. Choose all answers that are correct.
A) Create multiple websites
B) Organize information
C) Make their websites more user-friendly
D) Return to their designs over time to make edits
Answer:
B
Explanation:
Adding Web pages helps Web designers Organize information. The correct option is B)
What is a web page?A website should be made such that anyone using it can quickly find what they're searching for and understand what each feature on the page performs without having to ask for assistance or go through a lengthy tutorial.
When users access the website for the first time, they should be able to do so right away and do so as frequently as they have in the past. Additionally, the website needs to be responsively constructed. Web design is crucial because it affects how potential customers see your company.
The first impression you provide them will determine whether they stay on your page to learn more about your company, or whether they click on a competitor's page instead.
Therefore, the correct option is B) Organize information.
To learn more about a web page, refer to the link:
https://brainly.com/question/22775095
#SPJ2
A ___________ consists of a large number of network servers used for the storage, processing, management, distribution, and archiving of data, systems, web traffic, services, and enterprise applications.
Answer:
Data center
Explanation:
A network service provider can be defined as a business firm or company that is saddled with the responsibility of leasing or selling bandwidth, internet services, infrastructure such as cable lines to both large and small internet service providers.
Generally, all network service providers, internet service providers and most business organizations have a dedicated building or space which comprises of a large number of computer systems, security devices, network servers, switches, routers, storage systems, firewalls, and other network associated devices (components) typically used for remote storage, processing, management, distribution, and archiving of large amount of data, systems, web traffic, services, and enterprise applications.
Furthermore, there are four (4) main types of data center and these includes;
I. Managed services data centers.
II. Cloud data centers.
III. Colocation data centers.
IV. Enterprise data centers.
An IT systems engineer creates a new Domain Name System (DNS) zone that contains a pointer (PTR) resource records. Which zone type has been created?
Answer: Reverse DNS zone
Explo: a reverse DNS zone needs a PTR record since it is in charge of resolving the IP address to a domain or a hostname.
In python
Write a program that takes a date as input and outputs the date's season. The input is a string to represent the month and an int to represent the day.
Ex: If the input is:
April
11
Then the output is:
spring
In addition, check if the string and int are valid (an actual month and day).
Ex: If the input is invalid, the output is:
invalid
The dates for each season are:
spring: March 20 - June 20
summer: June 21 - September 21
autumn: September 22 - December 20
winter: December 21 - March 19
Answer:
The program in Python is as follows:
mnths = ["january","february","march","april","may","june","july","august","september","october","november","december"]
days = int(input("Day: "))
month = input("Month: ")
if not(month.lower() in mnths):
print("Invalid")
else:
month_index = mnths.index(month.lower())
if month_index == 0:
if days<1 or days>31: print("Invalid")
else: print("Winter")
elif month_index == 1:
if days<1 or days>28: print("Invalid")
else: print("Winter")
elif month_index == 2:
if days<1 or days>31: print("Invalid")
elif days<= 19: print("Winter")
else: print("Spring")
elif month_index == 3:
if days<1 or days>30: print("Invalid")
else: print("Spring")
elif month_index == 4:
if days<1 or days>31: print("Invalid")
else: print("Spring")
elif month_index == 5:
if days<1 or days>30: print("Invalid")
elif days<= 20: print("Spring")
else: print("Summer")
elif month_index == 6:
if days<1 or days>31: print("Invalid")
else: print("Summer")
elif month_index == 7:
if days<1 or days>31: print("Invalid")
else: print("Summer")
elif month_index == 8:
if days<1 or days>31: print("Invalid")
elif days<= 21: print("Summer")
else: print("Autumn")
elif month_index == 9:
if days<1 or days>31: print("Invalid")
else: print("Autumn")
elif month_index == 10:
if days<1 or days>30: print("Invalid")
else: print("Autumn")
elif month_index == 11:
if days<1 or days>31: print("Invalid")
elif days<21: print("Autumn")
else: print("Winter")
Explanation:
See attachment for complete source file, where comments are used to explain difficult lines
Which language will report a compilation error for the following snippet of code? int i = 3; double n, j = 3.0; n = i + j; Group of answer choices All of the above C++ Java C
Answer:
None of the programming languages
Explanation:
Given
[tex]int\ i = 3; double\ n, j = 3.0;[/tex]
[tex]n = i + j;[/tex]
Required
Which will produce a compilation error
The given code snippet will pass the syntax test and the semantic test for the three programming languages (C++, Java and C)
In other words, it will compile without error.
The reason is that (for the three programming languages);
Variables (i, n and j) were declared properlyVariables i and j were initialized properlyLastly, the arithmetic operation was also done properlyHence, none of the programming languages will return an error
A file system uses a bitmap to keep track of free disk space. One bit represents a 512-byte block. The disk contains 3 files, in the order: A, B, C, with the respective sizes of 1040, 700, 2650 bytes. Which one below is the correct bitmap?
A. 0111000111111 ....
B.1111111100110 ...
C.1011101101100...
D. 1111111111100
Answer:
B. 1111111100110
Explanation:
Bitmap is the technique for mapping from some domain bits. This is particularly referred to as pix-map which is actually map of pixels and this contains more than two colors. it used more than one bit per pixel. Pixels lesser than 8 will represent gray scale.