In regards to computing, The numbers of outcomes possible in this control structure is two.
Check more about control below.
What is a Control Structures?Control Structures is known to be made up of blocks that helps to examine variables and one can be able to choose directions where they can go to and this is often based on its given parameters.
Note that the basic Control Structures in programming languages are composed of Conditionals (or Selection) that helps to execute one or a lot of statements if the given condition is met.
Hence, The numbers of outcomes possible in this control structure is two.
Learn more about control structure from
https://brainly.com/question/26504433
#SPJ1
Answer:
i think your asking about the forever one in computer scinece
im pretty sure its 2
Explanation:
4. Allow connections to the web server by creating the following ALIAS (CNAME) record in the zone partnercorp.xyz using the following information: o Use www3 for the alias name. o Use partnercorp_www3.partnercorp.xyz for the FQDN.
The procedure that is used to add an alias (CNAME) resource record to a zone is given below:
On DC1, in Server Manager, click Tools and then click DNS. The DNS Manager Microsoft Management Console (MMC) opens.
In the console tree, double-click Forward Lookup Zones, right-click the forward lookup zone where you want to add the Alias resource record, and then click New Alias (CNAME). The New Resource Record dialog box opens.
In Alias name, type the alias name pki.
When you type a value for Alias name, the Fully qualified domain name (FQDN) auto-fills in the dialog box.
In Fully qualified domain name (FQDN) for target host, type the FQDN of your Web server.
Click OK to add the new record to the zone.
What is DNS?This refers to the domain name system that is used to make the connection from a web browser to a website using the hostname.
Hence, we can see that in order to connect to a web server, there needs to be a procedure that is used to add an alias (CNAME) resource record to a zone and this is given above.
Read more about DNS here:
https://brainly.com/question/18262407
#SPJ1
what are web site and web page?
Answer:
Website: a set of related web pages located under a single domain name, typically produced by a single person or organization
Webpage: a hypertext document on the World Wide Web
The term “web site” is commonly used to describe a collection of web pages and related content published simultaneously on at least one server and identified by a common domain name. A web site is a collection of many web pages that are linked together under the domain name of the same company.
Web pageWeb pages are a type of hypertext document which can be found on the World Wide Web. In a web browser, a user can view a web page that has been delivered by a web server to their computer. It is the name “web page” itself that is a metaphor for the binding of paper pages together to make a book.
Hope this helps :)
USPS stuck on "We are preparing your order for shipment" for 3 days. What does this mean?
What the message "We are preparing your order for shipment" for 3 days means is that it is stuck on a loop.
What is a loop in computer science?In programming the word loop is used to refer to the fact that an instruction or a sequence is repeated for a period that is longer or than is necessary. In order for this to change, certain modifications may have to be done on the program, else it may continue to run till it gets to when it is completed.
The condition would then be checked in order to show that it has been able to reach the prescribed number that it was supposed to for the message to terminate.
Read more on loops here: https://brainly.com/question/16922594
#SPJ1
Why multiprocessing operating system is more suitable for modern life?
Answer:
multiple processors and they are connected with the physical memory computer buses clocks and periprial devices the main objective of using a multiprocessor operating system is to increase the exclusion speed of the system and consume high computing power
Find a regular grammar that generates the language L(aa*(ab+a)*)
Answer:
S → aAB
A → a | ɛ
B → abB | aB | ɛ
Explanation:
Long time ago I did this, but I think this does the job?
Regular grammar for language L(aa*(ab+a)*):
S -> aA, A -> aA | B, B -> ab | a | ε.
We have,
To construct a regular grammar that generates the language
L(aa*(ab+a)*), we need to break it down into its basic components and then define the production rules for each part.
The language L(aa*(ab+a)) consists of strings that start with one or more 'a's (aa), followed by either the string "ab" or just "a" (ab+a)*.
Note that the "ab+a" part can repeat zero or more times.
Here is the regular grammar:
- Start with the initial non-terminal S.
- The production rules are as follows:
S -> aA
A -> aA | B
B -> ab | a | ε
- Explanation of the production rules:
S -> aA: The string starts with an 'a', followed by A.
A -> aA: If the string contains more 'a's, it remains in A and continues adding 'a's.
A -> B: If the string contains "ab" or just "a", it goes to B.
B -> ab: The string contains "ab".
B -> a: The string contains only "a".
B -> ε: The string is empty.
This grammar generates strings in the language L(aa*(ab+a)*).
The notation "ε" represents an empty string (i.e., the production rule does not add any symbols to the string).
Thus,
Regular grammar for language L(aa*(ab+a)*):
S -> aA, A -> aA | B, B -> ab | a | ε.
Learn more about regular grammar for languages here:
https://brainly.com/question/31423942
#SPJ3
A user tells you that microsoft word gives errors when saving a file. what should you do next?
Answer:try to change the name of the file not adding any symbols not accepted as file, or try to change the destination of the file, ex. an external usb. Or double check if the destination folder is not full.
Explanation:
errors when saving may occur because of the above
What is the difference between referential and entity integrity
Answer:
Explanation:
Referential integrity is the state in which all values of all foreign keys are valid. Referential integrity is based on entity integrity . Entity integrity requires that each entity have a unique key.
Hope this helped and have a good day
fill in the blanks
a:………was the main component in the first generation computer
Answer:
vaccum tubeExplanation:
mark me brainlist!!How to enter Data into cells in excel
Answer:
u can enter data into excel by either copy pasting by right clicking or typing It manually in the Fx box located at the top
Why is the physical layer at the bottom level of a protocol stack?
The lowest level protocols are placed at the bottom, creating the foundation upon which higher levels, or coatings, are placed. The OSI Reference Model, for example, includes seven layers, each of which is interrelated, providing assistance to those above and below.
What are the layers of stack protocol?Application layer. As indicated by its name, the application layer is responsible for communication between applications operating on two different end systems.Transport layerNetwork layerLink layer. Physical layer.
What is the top layer of the protocol stack?
The collection of protocols used in a communications network. A protocol stack is a defined hierarchy of software layers, starting from the application layer at the top (the source of the data being sent) to the data link layer at the bottom
To learn more about physical layer, refer
https://brainly.com/question/14723994
#SPJ9
Below you will find the requirements to identify the Account Diversity Grade of a user. Read the requirements carefully and identify what test users you need to setup in order to completely test and make sure all the below requirements are covered. (Note: you should identify the optimum (minimum) number of users needed to test all of the requirements)
Requirements:
A user can have different types of loan accounts. Now we grade a user’s Account Diversity based on two factors.
1) loanTypeCount
2) totalAccounts
loanTypeCount = the number of different (distinct) LoanType values for all accounts that the user has.
However do not include LoanType = Unknown & Collections but include all others
Applicable values for LoanType are ( Home Loan, Heloc, Credit Card, Car Loan, Collections, Unknown)
totalAccounts = total number of loan accounts user has (do not include LoanType = Unknown & Collections but include all others)
example-> if user has 3 credit cards and 2 home loans and 1 Collection account, then totalAccounts = 5 and loanTypeCount = 2)
The logic to determine accountDiversityGrade is the following:
If totalAccounts> 20 or loanTypeCount >= 4, accountDiversityGrade = A
Else if totalAccounts> 10 or loanTypeCount = 3, accountDiversityGrade = B
Else if totalAccounts>= 5 or loanTypeCount= 2, accountDiversityGrade = C
Else if totalAccounts > 0 or loanTypeCount = 1, accountDiversityGrade = D
Else accountDiversityGrade=null (n/a)
The technique I used to test the requirement is equivalence partitioning.
Equivalence Partitioning-
Generic test data is considered where all the test data satisfies the conditions provided in the problem. Such that,
- ADGrade A --> TA=25 LC=5
- ADGrade B --> TA=20, LC=3
- ADGrade C --> TA=8 LC=2
- ADGrade D --> TA=2, LC=1
- ADGrade null (n/a)—> TA=0, LC=0
Where:
TA represents totalAccounts, LC represents loanTypeCount, ADGrade represents accountDiversityGradeIf we are to combine the test data collected above, we would obtain the entire set of test data.
With this in mind, the minimum number of users that are required for testing the requirement is 5.
Read more about requirement testing here:
https://brainly.com/question/16147055
#SPJ1
Ethernet network that connects a single client PC to a single server and label the locations of switches and transmission links. Provide a rationale for each part of your design, explaining the problem, approach, and why you made the choices you made.
In the network constructed, we need to use 3 switches to be able to connect a single client PC to the single server. Therefore:
Connect server to switch 1 (225 m)Connect switch 1 to switch 2 (225 m)Connect switch 2 to switch 3 (225 m)Connect switch 3 to client PC (225 m)What is the network about?The maximum distance for ethernet connection is known to be about 100 meters and it is one that is often used in the transmission speeds.
Note that when one has added to the network switches, the distance need to be increased to about 200 meters and thus about 900 meters of distance need to exist between the client PC and the server.
The Ethernet network need to be designed as:
Connect server to switch 1 (225 m)
Connect switch 1 to switch 2 (225 m)
Connect switch 2 to switch 3 (225 m)
Connect switch 3 to client PC (225 m)
Note that Total distance covered = 225 + 225 + 225 + 225
= 900 meters
Therefore, In the network constructed, we need to use 3 switches to be able to connect a single client PC to the single server.
Learn more about Ethernet from
https://brainly.com/question/16947988
#SPJ1
One of the users in your company is asking if he can install an app on his company-provided mobile device. The installation of apps by users is blocked on the company’s mobile devices, but you have tested and confirmed this app would be useful for everyone.
Which of the following will allow users to request a minimal version of the app that downloads only what is required to run?
a. Resource pooling
b. Application streaming
c. Off-site email application
d. Rapid elasticity
Answer: Application straming
Explanation: Thats what Quiznet says.
What is a use case of factorization in quantum computing?
Answer:
Shor's algorithm is a quantum computer algorithm for finding the prime factors of an integer. It was developed in 1994 by the American mathematician Peter Shor. . The efficiency of Shor's algorithm is due to the efficiency of the quantum Fourier transform, and modular exponentiation by repeated squaring.
what is the advantage of www? give 5 pints.
communication
delivering messages
research
exploring
texting
why is it a risk of using you mobile cell phone or external WLAN as a wi-fi connection point?
The risk of using you mobile cell phone or external WLAN as a wi-fi connection point is that it is one that do lacks the right security measures to be able to keep the network safe from intrusion.
What is one of the Risks of linking to a public Wi-Fi network?The Risks of a Public Wi-fi is that a free Wi-Fi security is one that helps a any hacker to be able to put or position themselves between the user and the connection point.
Note that in this case, the user instead of they talking directly with the hotspot, they are known to be sending their information to the hacker, who is said to often relays it on.
Hence, The risk of using you mobile cell phone or external WLAN as a wi-fi connection point is that it is one that do lacks the right security measures to be able to keep the network safe from intrusion.
Learn more about WLAN from
https://brainly.com/question/26956118
#SPJ1
Which of the following accesses a local variable var in structure fred?
A. fred->var;
B. fred.var;
C. fred-var;
D. fred>var;
Answer:
search your question in gogle
Jessica is training to be a cinematographer. It is her first experience shooting a scene. Where do you think she should focus the camera?
A.
focus on the subject’s expressions
B.
focus on the subject’s face
C.
focus on the subject’s eyes
D.
focus on the subject’s body language
I need this problem solved in C++ progamming
Using the knowledge in computational language in C++ it is possible to write a code that prompt user for a file name and read the data containing information for a course, store and process the data
Writting in C++ code:#include<iostream>
#include<cstring>
#include<fstream>
using namespace std;
struct Student{
string lastName,firstName;
char subject;
int marks1,marks2,marks3;
};
char calcGrade(double avg){
char grade;
if(avg>=90.0&&avg<=100.0)
grade='A';
else if(avg>=80&&avg<=89.99)
grade='B';
else if(avg>=70&&avg<=79.99)
grade='C';
else if(avg>=60&&avg<=69.99)
grade='D';
else
grade='E';
return grade;
}
int main(){
char inFilename[20],outFilename[20];
int noOfRec,i,sum,count;
double avg,classAvg;
char grade;
cout<<"Please enter the name of the input file: ";
cin>>inFilename;
cout<<"Please enter the name of the output file: ";
cin>>outFilename;
ifstream ifile;
ifile.open(inFilename);
ofstream ofile;
ofile.open(outFilename);
if(!ifile){
cout<<inFilename<<" cannot be opened";
return -1;
}else{
ifile>>noOfRec;
struct Student s[noOfRec];
for(i=0;i<noOfRec;i++){
ifile>>s[i].lastName,s[i].firstName,s[i].subject,s[i].marks1,s[i].marks2,s[i].marks3;
}
if(!ofile){
cout<<outFilename<<" cannot be opened";
}else{
ofile<<"Student Grade Summary\n";
ofile<<"---------------------\n";
ofile<<"ENGLISH CLASS\n";
ofile<<"Student name\tTest Avg\n";
sum=0;
count=0;
classAvg=0.0;
for(i=0;i<noOfRec;i++){
if(s[i].subject=='E'){
avg=(s[i].marks1+s[i].marks2+s[i].marks3)/3;
grade=calcGrade(avg);
ofile<<s[i].firstName<<" "<<s[i].lastName<<"\t"<<avg<<"\t"<<grade<<"\n";
sum+=avg;
count+=1;
}
}
classAvg=sum/count;
ofile<<"\n\t\tClass Average\t\t"<<classAvg<<"\n";
ofile<<"---------------------\n\n";
ofile<<"HISTORY CLASS\n";
ofile<<"Student name\tTest Avg\n";
sum=0;
count=0;
classAvg=0.0;
for(i=0;i<noOfRec;i++){
if(s[i].subject=='H'){
avg=(s[i].marks1+s[i].marks2+s[i].marks3)/3;
grade=calcGrade(avg);
ofile<<s[i].firstName<<" "<<s[i].lastName<<"\t"<<avg<<"\t"<<grade<<"\n";
sum+=avg;
count+=1;
}
}
classAvg=sum/count;
ofile<<"\n\t\tClass Average\t\t"<<classAvg<<"\n";
ofile<<"---------------------\n\n";
ofile<<"MATH CLASS\n";
ofile<<"Student name\tTest Avg\n";
sum=0;
count=0;
classAvg=0.0;
for(i=0;i<noOfRec;i++){
if(s[i].subject=='M'){
avg=(s[i].marks1+s[i].marks2+s[i].marks3)/3;
grade=calcGrade(avg);
ofile<<s[i].firstName<<" "<<s[i].lastName<<"\t"<<avg<<"\t"<<grade<<"\n";
sum+=avg;
count+=1;
}
}
classAvg=sum/count;
ofile<<"\n\t\tClass Average\t\t"<<classAvg<<"\n";
ofile<<"---------------------\n\n";
ifile.close();
ofile.close();
}
}
See more about C++ code at brainly.com/question/19705654
#SPJ1
What are authorization rules?
John is directing a television series. He has to shoot a scene that presents the lead character in a dominating and commanding position. What shooting technique should he use?
A.
low angle
B.
high angle
C.
Dutch tilt
D.
front angle
In python please:
Assume the variable authors references a list. Write a for loop that displays each author in
the list.
Answer:
"
for author in authors:
print(author)
"
Explanation:
So, to go through a list, you simply use a for loop as such:
"
for element in list:
# code
"
For each iteration, the current element value will be assigned to the variable "element" in the code, and the code in the for loop will run as well.
So to print out each author in the list, you simply do:
"
for author in authors:
print(author)
"
Also it doesn't matter what I put in between the "for" and "in", it can be any variable name, although I would have to change the "print(author)" so that it prints that variable. The only restrictions you have on this, is that variable names cannot be keywords like "in", "for", "pass", "def", etc...
Help!
Write the declaration for a gradient. It may be either gradient type, and consist of any colors.
Answer:
it may be linear gradient.
YALL PLEASE HELP I CANT BREATHE
The turtle module that prints "HELLO" in python programming is given below:
The Python Program that uses turtle graphics# Python program to
# demonstrate printing HELLO
# using turtle
# Here frame is initialized with
# background colour as "White"
import turtle
frame = turtle.Screen().bgcolor("White")
draw = turtle.Turtle()
# The colour, width and speed of the pen is initialized
draw.color("Green")
draw.width(3)
draw.speed(10)
# Now lets get started with actual code
# printing letter H
draw.left(90)
draw.forward(70)
draw.penup()
draw.goto(0, 35)
draw.pendown()
draw.right(90)
draw.forward(30)
draw.penup()
draw.goto(30, 70)
draw.pendown()
draw.right(90)
draw.forward(70)
# printing letter E
draw.penup()
draw.goto(40, 0)
draw.pendown()
draw.right(180)
draw.forward(70)
draw.right(90)
draw.forward(35)
draw.penup()
draw.goto(40, 35)
draw.pendown()
draw.forward(35)
draw.penup()
draw.goto(40, 0)
draw.pendown()
draw.forward(35)
# printing letter L
draw.penup()
draw.goto(90, 70)
draw.pendown()
draw.right(90)
draw.forward(70)
draw.left(90)
draw.forward(35)
# printing letter L
draw.penup()
draw.goto(135, 70)
draw.pendown()
draw.right(90)
draw.forward(70)
draw.left(90)
draw.forward(35)
# printing letter O
draw.penup()
draw.goto(210, 70)
draw.pendown()
for i in range(25):
draw.right(15)
draw.forward(10)
Read more about python programming here:
https://brainly.com/question/26497128
#SPJ1
In python please.
You are in process of writing a class definition for the class Book. It has three data attributes:
book_title, book_author, and book_publisher. The data attributes should be private.
In Python, write an initializer method that will be part of your class definition. The attributes
will be initialized with parameters that are passed to the method from the main program.
Note: You do not need to write the entire class definition, only the initializer method
Answer:
class Book:
def __init__(self, book_title, book_author, book_publisher):
self.__book_title = book_title
self.__book_author = book_author
self.__book_publisher = book_publisher
Explanation:
Python kind of haves private data attributes, although technically they don't.
Take for example the following code:
"
class A:
def __init__(self):
self.__privateAttribute = 0
x = A()
print(x.__privateAttribute)
"
all this really does is rename the variable name, and if you run the following code:
print(dir(x))
it will print the attributes of "x" which include "_A__privateAttribute" which is the attribute that was initialized.
Anyways getting that out of the way, you need to now about the __init__ method, which runs each time you initialize a new instance of the class. It's a way of setting up some necessary values that will be used in the objects methods (the functions inside the class)
So, because we simply cannot know what the book_title, book_author, and book_publisher are (since they vary book to book...), we take them as arguments using the __init__ method, and then initialize their values in their.
"
class Book:
def __init__(self, book_title, book_author, book_publisher):
self.__book_title = book_title
self.__book_author = book_author
self.__book_publisher = book_publisher
"
I just realized I completely forgot to even mention what the "self" variable stands for. Whenever you initialize a variable, or call a method from an instance of the class, the first argument passed will be the instance of the class. Take for example the following class
"
class A:
def __init__(self, b):
self.b = b
def printB(self):
print(self.b)
def printB(self):
print(self.b)
c = A(3)
d = A(4)
c.printB()
printB(c)
d.printB()
printB(d)
"
The two lines
c.printB() and printB(c) are the same exact thing, the only difference is when you call c.printB(), you automatically pass the "c" as the first argument, and the same thing for d.printD(), it's implicitly passed whenever you call a method from an instance of the class.
TensorFlow and Pytorch are examples of which type of machine learning platform?
"using this type of communications channel, several users can simultaneously use a single connection for high-speed data transfer."
The use of the broadband type of communications channel is one where several users can simultaneously use a single connection for high-speed data transfer.
What is wireless medium?In wireless transmission, the tool that is often used is the air, is via electromagnetic, radio and microwave signals.
What does broadband mean?The term Broadband is known to be the sharing or the transmission of wide bandwidth data in course of a high speed internet connection.
Note also that broadband internet is the lowest of 25 Mbps download and that of 3 Mbps upload speeds.
Hence, The use of the broadband type of communications channel is one where several users can simultaneously use a single connection for high-speed data transfer.
Learn more about communications from
https://brainly.com/question/26152499
#SPJ1
What are the two most desired characteristics of a cellular network?
There are four main parts that make up a cellular communication system: mobile subscriber units (MSUs), public switched telephone network (PSTN), and mobile telephone switching office (MTSO) (MSU).
What desired characteristics of a cellular network?No direct mobile to mobile communication exists; all communication takes place between a mobile and a base station. Within each base station's cell, which is a specific geographical area, there is a dedicated set of radio channels or frequencies.
These networks are becoming used for purposes other than entertainment and phone calls as cellular devices become more and more common.
Cellular networks are high-speed, high-capacity voice and data communication networks that can handle cellular devices and have increased multimedia and seamless roaming capabilities.
Therefore, The ability of a cellular network to reuse frequencies to boost capacity and coverage is its major feature.
Learn more about cellular network here:
https://brainly.com/question/27960045
#SPJ2
Question 4 of 10
Which action takes place in the Define step of the game development cycle?
A. Looking for errors and determining how best to fix them
B. Choosing a color scheme and overall theme for the game
OC. Determining the goals of the game
D. Releasing the game and collecting feedback from users
SUBMIT
An action which takes place in the Define step of the game development cycle is: C. determining the goals of the game.
What is GDLC?GDLC is an acronym for game development life cycle and it can be defined as a strategic methodology that defines the key steps, phases, or stages that are associated with the design, development and implementation of high quality gaming software programs (applications).
In Computer science, there are seven (7) phases involved in the development of a gaming software program and these include the following;
DefinePlanningDesignDevelopment (coding)TestingDeploymentMaintenanceIn this context, we can infer and logically deduce that determining the goals of the game is an action which takes place in the Define step of the game development cycle.
Read more on software here: brainly.com/question/26324021
#SPJ1
Which action takes place in the Deploy stop of the game development cycle?
Answer: is D. Releasing the game and collecting feedback from users
A user wants to visualize a highly complex 3D model using a Virtual Reality headset.
What is the best way for the user to do this?
Since the user wants to visualize a highly complex 3D model using a Virtual Reality headset, the best way for the user to do this is to connect a tethered headset to a very powerful PC.
What does a virtual reality headset do?VR headsets is known to be one that is found or is one that do replace the human's or user's natural environment with that of a virtual reality content, e.g. a movie, a game or what we call a kind of a prerecorded 360-degree VR environment.
Note that this is one that often allows the user to be able to turn and also look around, just like the person is in the physical world.
Hence, Since the user wants to visualize a highly complex 3D model using a Virtual Reality headset, the best way for the user to do this is to connect a tethered headset to a very powerful PC.
Learn more about Virtual Reality from
https://brainly.com/question/26705841
#SPJ1