Let's check what can be modified
Before calling def we need adjective and conjunctions stored inside variables
Store them(You may change according to your choice)
[tex]\tt adjectives=("foolish","bad","long","hard")[/tex]
[tex]\tt conjunctions=("and","but","for","after")[/tex]
We have to make optional ,easy way ask the user to do instead of yourself .
[tex]\tt con=input("Enter\: yes\: if \:you \:want \:to \:use \:conjunctions:")[/tex]
[tex]\tt adj=input("Enter\:yes\:if\:you\:want\:to\:use\: adjectives:")[/tex]
If they click then we can proceed else no problem let the program run
[tex]\tt def\: conjunctionPhrase():[/tex]
[tex]\quad\tt if\: con=="yes":[/tex]
[tex]\quad\quad\tt return\:random.choice(conjunctions)+"\:"+nounPhrase()[/tex]
[tex]\quad\tt else:[/tex]
[tex]\quad\quad\tt continue[/tex]
You may use pass also[tex]\tt def\: adjectivePhrase():[/tex]
[tex]\quad\tt if\:adj=="yes":[/tex]
[tex]\quad\quad\tt return\:random.choice(adjectives)+"\:"+nounPhrase()[/tex]
[tex]\quad\tt else:[/tex]
[tex]\quad\quad\tt continue[/tex]
Artificial intelligence (ai) in perspective is a complex and interdisciplinary field that involves several specialties, including:
Artificial intelligence (ai) in perspective is a complex and interdisciplinary field that involves several specialties, including Interdisciplinary research diploma applications integrate or greater conventional educational guides of have a look at right into a greater personalized major.
What is Interactions among AI Artificial intelligence?Interactions among AI Artificial intelligence and schooling is but some other instance of interdisciplinarity in AI (Oudeyer et al., 2016), that may immediately gain now no longer best the 2 fields, schooling and AI, however society and productiveness as a whole.
Interdisciplinary research diploma applications integrate or greater conventional educational guides of having a look at right into a greater personalized major. Unlike a liberal arts diploma wherein you'll have a look at an extensive type of subjects, an interdisciplinary diploma lets in college students to discover a greater centered subject matter that crosses into more than one field.Read more about the interdisciplinary :
https://brainly.com/question/25955559\
#SPJ1
You are developing control software for a car whose latest model will have a network connection. software upgrades will be delivered over the air rather than at service visits, so that any security vulnerabilities can be patched quickly. this in turn means that you will have to provide patches, to deal with both security and safety issues for the next 25 years. discuss how this is likely to affect your development process, and the implications it will have for costs.
Select the three areas in which it would be most important for an instructional designer to be trained. psychology psychology computer applications computer applications educational theory educational theory business management business management sales and marketing sales and marketing]
The three areas in which it would be most important for an instructional designer to be trained are Psychology, Educational Theory and Computer applications.
Here is why those areas are importantPsychology: Understanding how people learn and how to design instruction that meets their needs is essential for instructional designers. Knowledge of cognitive psychology, educational psychology, and human development can inform the design of effective learning experiences.
Educational theory: Instructional designers need to have a solid foundation in educational theory to understand the principles of effective teaching and learning. Knowledge of learning theories, instructional design models, and assessment and evaluation can inform the design of instruction that is effective and meaningful.
Computer applications: As technology becomes increasingly important in education, instructional designers need to have a strong understanding of computer applications and programming languages. This can include software for creating and editing multimedia, learning management systems, and programming languages for creating interactive and engaging learning experiences.
Learn more about instructional designer here:
https://brainly.com/question/31104154
#SPJ1
____ storage is not recommended for long-term archiving because the storage media can degrade over time
P/E
Optical
Hard Drive
RAID
Hard Drive is not recommended for long-term archiving because the storage media can degrade over time,
What type of storage is recommended for long term data retention?The long method used to long-term retention is the use of cloud. Cloud-based are known to be a form of cold storage that is made up of intelligent storage software.
Note that Hard Drive is not a long term kind of storage in the above context and as such, PE storage is not recommended for long-term archiving because the storage media can degrade over time,
Learn more about storage from
https://brainly.com/question/1317328
#SPJ1
Consider the following code using the posix pthreads api:
thread2.c
#include
#include
#include
#include
int myglobal;
void *thread_function(void *arg) {
int i,j;
for ( i=0; i<20; i++ ) {
j=myglobal;
j=j+1;
printf(".");
fflush(stdout);
sleep(1);
myglobal=j;
}
return null;
}
int main(void) {
pthread_t mythread;
int i;
if ( pthread_create( &mythread, null, thread_function,
null) ) {
printf(ldquo;error creating thread.");
abort();
}
for ( i=0; i<20; i++) {
myglobal=myglobal+1;
printf("o");
fflush(stdout);
sleep(1);
}
if ( pthread_join ( mythread, null ) ) {
printf("error joining thread.");
abort();
}
printf("\nmyglobal equals %d\n",myglobal);
exit(0);
}
in main() we first declare a variable called mythread, which has a type of pthread_t. this is essentially an id for a thread. next, the if statement creates a thread associated with mythread. the call pthread_create() returns zero on success and a nonzero value on failure. the third argument of pthread_create() is the name of a function that the new thread will execute when it starts. when this thread_function() returns, the thread terminates. meanwhile, the main program itself defines a thread, so that there are two threads executing. the pthread_join function enables the main thread to wait until the new thread completes.
a. what does this program accomplish?
b. here is the output from the executed program:
$ ./thread2
..o.o.o.o.oo.o.o.o.o.o.o.o.o.o..o.o.o.o.o
myglobal equals 21
is this the output you would expect? if not, what has gone wrong?
The thing which the given program accomplishes is that it creates a method, declares variables, and executes commands if they meet the conditions in the code.
What is a Conditional Statement?This is a type of statement that executes a line of code if a condition is not met.
Some types of conditional statements are:
IF statementIF-ELSE statementNested If-else statement.If-Else If ladder.Switch statement.No, that is not the desired output because the integer should be less than 20.
Read more about conditional statements here:
https://brainly.com/question/11073037
#SPJ1
The __________ River is Europe’s longest river.
Answer:
The Volga river is Europes longest river.HOPE IT HELPSAnswer:
The volga river in the eastern part of europe
When a motherboard fails, you can select and buy a new board to replace it. Suppose the motherboard in your computer has failed and you want to buy a replacement and keep your repair costs to a minimum. Try to find a replacement motherboard on the web that can use the same case, power supply, processor, memory, and expansion cards as your current system. If you cannot find a good match, what other components might have to be replaced (for example, the processor or memory)
When a motherboard fails, you can select and buy a new board to replace it then Replacing the motherboard in a pc is the maximum tough process.
What are a few pointers while deciding on a motherboard? First Choose an appropriate chipset for a device.Check whether or not the motherboard maintenances the same processor Select board for the device with bendy speeds.Ensure that motherboard maintenance right reminiscence.Check the board that helps the sort of video you need.Check records, maintenance, and updates for the board.Choosing the proper motherboard is first essential step wherein the processor that helps nicely are determined, reminiscence in what kind and what kind of reminiscence may be used also are determined, what sort of films may be supported and installed. In depending to this verbal exchange velocity and the device element are all have to be checked in a clean understanding earlier than deciding on motherboard.
Read more about the processor :
https://brainly.com/question/1538272
#SPJ1
Name two driving factors in the development of computers.
The two driving factors in the development of computers are the Skill set of the team. [If the team is well versed in a specific stack, then the performance will be good as compared to any other stack].
What re the matters?There are some matters to consider. For business programs, I'd say gaming. A lot of what the common laptop makes use of for enterprise doesn't require that kind of electricity.
The skill set of the team. [If the team is well versed in a specific stack, then the performance will be good as compared to any other stack]Process familiarity. [If dev team knows the stack but the deployment/service team is new, then you may run into deployment and maintenance issues.]Read more about the computers:
https://brainly.com/question/24540334
#SPJ1
What physical disk oriented performance counter should be used to determine the number of requests waiting to be processed by a disk
Answer:
current disk queue length
Explanation:
Pedro has written a program in a high-level language to do some calculations for a friend. His friend needs to use the program immediately on his laptop. Pedro does not know what software is available on the laptop. Also, his friend's internet connection is very slow. Explain which type of translator Pedro should use for his program. Give reasons why this is the best choice in this case.
In the case above, a Compilers is the best translator for a program that is said to be changed or written in a high-level language into machine code.
Why do you need to translate a program written in a high-level language into machine language?Programming languages are known to be easy for humans to read and understand.
Note that The program (source code) need to be translated into machine language so that the computer can be able to carryout the program.
Therefore, In the case above, a Compilers is the best translator for a program that is said to be changed or written in a high-level language into machine code.
Learn more about machine language from
https://brainly.com/question/23275071
#SPJ1
What is the digital revolution and how did it change society?
Answer:
The Digital Revolution (also known as the Third Industrial Revolution) is the shift from mechanical and analogue electronic technology to digital electronics which began in the later half of the 20th century, with the adoption and proliferation of digital computers and digital record-keeping, that continues to the present day.
The "digital revolution" is impacting everything, from economy, innovation, science and education, to health, sustainability, governance, and lifestyles. Digital technologies will fundamentally change business models, institutions and society as a whole, as new ecosystems emerge.
Explanation:
Question 3 of 10
in which part of the Scratch interface does a programmer combine code
blocks to build the program?
OA. Block palette
OB. Stage
OC. Scripts area
O D. Sprite info pane
The part of the Scratch interface that a programmer combine code
blocks to build the program is the Block palette.
Which part of the sprite screen has programming blocks?The block palette is known to be the part where all the code blocks can be found.
Note that all the Blocks are said to be color coded by category and as such, The part of the Scratch interface that a programmer combine code
blocks to build the program is the Block palette.
Learn more about Scratch interface from
https://brainly.com/question/27820529
#SPJ1
When an interviewer asks "tell me about yourself", you should tell them about your childhood past. please select the best answer from the choices provided t f
In the interview when the candidate is asked about yourself then telling about childhood past is not correct. Therefore the given statement is false.
What is an interview?An interview is an interaction or a conversation between an employer and the interested candidate. In the conversation the interviewee is asked about their education, family background, and work experiences.
When an interviewer ask about tell me about yourself, then the interviewee should not tell about their childhood past, rather the interviewee should give few information about their family, education, and working.
Therefore, the given statement is false.
Learn more about interview, here:
https://brainly.com/question/13073622
#SPJ1
How do you remove only the conditional formatting from a cell and leave all other formatting intact.
This is done by selecting the Conditional Formatting button via the HOME tab, take the arrow or point to Clear Rules, and select Clear Rules from full Sheet.
How do I remove conditional formatting and also keep formatting?The step is to first enable the sheet you want to delete the conditional formatting rules and then keep format.
One can click on Alt + F11 keys to open Microsoft Visual Basic for Applications window then Click Insert > Module, and then Remove conditional formatting rules and also keep format.
Learn more about formatting from
https://brainly.com/question/766378
#SPJ1
The Internet Protocol adds its own network layer header to the segment or datagram, and this network layer message is now called a
The Internet Protocol adds its own network layer header to the segment or datagram, and this network layer message is now called a TCP/IP protocol suite.
What is TCP/IP protocol suite?The TCP/IP protocol suite is known as the Internet Protocol Suite (IPS), this is because it is said to receives from the layer above in form of data, and places its own header in front of it.
Therefore, The Internet Protocol adds its own network layer header to the segment or datagram, and this network layer message is now called a TCP/IP protocol suite.
Learn more about Internet Protocol from
https://brainly.com/question/17820678
#SPJ4
Draw and implement of an organization which have 125 employees. use the following features 1.email services 2.lan communication 3.vlan 4.security 5.storage 6.server
An organisation usually hires employees which helps in the successful achievement of the goals of the organisation.
Implementation of an organisationThe implementation of an organisation can be carried out using the following features:
Email services: Email address can be assigned to different employees of the organisation.LAN communication: Local Area Network is used by organisation to connect their computer devices to a server using a common communication line.VLAN: This is known as Virtual Local Area Network which is created between two LAN's.Security: This is set up by a company to guide their data from theft.Storage: This is used by the organisation to store their data.Server: This is a device that provides internet services to another computer in an organisation.Learn more about LAN here:
https://brainly.com/question/26956118
#SPJ4
The Western Siberian Plain is __________ in some places because it has poor natural draining systems.
The Western Siberian Plain is marshy in some places because it has poor natural draining systems.
What is a Drainage system?A Drainage system may be defined as the complete process to exhaust the water in the soil to improve crop production in an area. It eliminates the water through the surface of the earth.
The complete question is as follows:
The Western Siberian Plain is __________ in some places because it has poor natural draining systems.
subtropicalhumidmarshyaridTherefore, the correct option for this question is C, i.e. marshy.
To learn more about the Drainage system, refer to the link:
https://brainly.com/question/908462
#SPJ1
A class that implements an interface must provide an implementation for all ____ methods. Group of answer choices private final static abstract
Answer:
Abstract
Explanation:
I think it’s abstract because, in the question it says that it implements an interface and must provide an implementation for
And my answer was abstract methods.
You are working in a medical practice that sends out billing electronically but the software does not include a claim scrubber program. what can you, as an administrative medical assistant do?
When working in a medical practice that does not include a claim scrubber program the result of now no longer having a declare scrubbed previous to submission is that the exercise has a tendency to lose sales.
What is a scrubber software?A declare scrubber software is referred to as software that facilitates in reviewing claims for coding and billing accuracy of patients. This software is normally protected as a software program whilst billing electronically in hospitals or for coverage purposes.
The results or dangers of now no longer having a declare scrubbed previous to submission is that the exercise has a tendency to lose sales.
Read more about the software:
https://brainly.com/question/1538272
#SPJ1
How to turn off parental controls without a password on android?.
Answer:
Ask your parents.
what is a computer?write any four features of computer
Answer:
A computer is defined as an electronic device for storing and processing data, typically in binary form, according to instructions given to it in a variable program.
Four features of a computer would be CPU, GPU, Memory, and Motherboard.
Explanation:
Computer is an electronic machine which accepts raw data from the user , process the data according to the predefined set of instructions, gives and stores the result or instructions....
Or
A computer is an electronic device that can perform several task according to the given instructions...
The four features of computer are :
Speed Accuracy Versatility Diligence Storage etc....[tex]...[/tex]
Which technology, when combined with agile and devops, will help the team receive real-time feedback?
A technology which when combined with Agile and Devops that'll help the Accenture Technology team receive real-time feedback is a cloud.
What is a cloud?In Computer technology, a cloud simply refers to the elastic leasing of pooled computer resources such as physical hardware through virtualization and over the Internet, so as to enable the storage and sharing of files and documents virtually and in real-time.
In this context, a cloud is a technology which when combined with Agile and Devops that'll help the Accenture Technology team receive real-time feedback.
Read more on cloud here: https://brainly.com/question/19057393
#SPJ1
what are the methods of gilding
nonsense will be immediately reported.
Sanjay is compressing several images from a recent photo shoot during the editing process. What will this do to the pixels
Based on the fact that he is compressing a lot of images from a photo shoot, the pixels size will be reduce.
What is Pixels?This is known to be a term that connote a little single colored, light-sensitive squares, or picture elementary , that is said to be a full digital image file.
Based on the fact that he is compressing a lot of images from a photo shoot, the pixels size will be reduce.
Note that also individually the photo will have small pixel but collectively, the pixel size will increase but since it will undergo edit, it will reduce.
Learn more about pixels from
https://brainly.com/question/9017156
#SPJ4
What will be the output, if any, when the user clicks the right mouse button?
from tkinter import
def clicked(event):
print("That hurt.")
widget = Button(None, text='Button')
widget.pack()
widget.bind('', clicked)
widget.mainloop()
O an error statement
O That hurt.
O no output
O Button
The output, if any, when the user clicks the right mouse button is (b) That hurt
How to determine the output?The flow of the program implies that:
When the user clicks the button, the program prints "That hurt" without the quotes.
This action is on the third line of the program
Hence, the output, if any, when the user clicks the right mouse button is (b) That hurt
Read more about programs at:
https://brainly.com/question/16397886
#SPJ1
Mediacom Communications has requested you to manage the access to its 802.11 standard wireless networks. A recent instance of errors in transmission has been recorded, and in order to fix this problem, you want to run a cyclical code to check for errors in transmission. In which field of the 802.11 data frame will you run this check
Based on the above scenario, in frame control field of the 802.11, the data frame will you run this check.
What are the three key 802.11 frame types?There are 3 types of 802.11 frames which are:
ManagementcontrolDataTherefore, Based on the above scenario, in frame control field of the 802.11, the data frame will you run this check.
See full question below
Mediacom Communications has requested you to manage the access to its 802.11 standard wireless networks. A recent instance of errors in transmission has been recorded, and in order to fix this problem, you want to run a cyclical code to check for errors in transmission. In which field of the 802.11 data frame will you run this check?
a.
Sequence Control
b.
Trailer
c.
Data
d.
Frame Control
Learn more about Communications from
https://brainly.com/question/26152499
#SPJ1
The arrangement of keys on a keyboard, QWERTY reflects the keyboard layout by ________. Group of answer choices using the letters of the alphabetic characters that are closest to access while typing taking the letters of the first six alphabetic characters found on the top row of keys using the alphabetic characters most frequently used on the keyboard representing the phonetics of the alphabets most closely associated with the keyboard
The setup of keys on a keyboard, QWERTY shows the keyboard layout by taking the letters of the first six alphabetic characters found on the top row of keys.
What is keyboard?A keyboard is known to be a kind of peripheral device that helps a user to be able to input text into any computer or any any kind of electronic device.
Note that The setup of keys on a keyboard, QWERTY shows the keyboard layout by taking the letters of the first six alphabetic characters found on the top row of keys.
Learn more about keyboard from
https://brainly.com/question/13380788
#SPJ1
True or False. It is OK for students to find answers to questions on the Internet and submit those answers during a test.
Strange question, but I would say false. FALSE
What version of bluetooth is installed on the yaesu ft-5dr?.
Answer:
version 4.2
Explanation:
advantages and disadvantages of algorithm
Answer:
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
Explanation:
It is easy to understand. Algorithm is a step-wise representation of a solution to a given problem. In Algorithm the problem is broken down into smaller pieces or steps hence, it is easier for the programmer to convert it into an actual program
Algorithms are time-consuming. Big tasks are difficult to put in algorithms. Difficult to show branching and looping in algorithms. Understanding complex logic through algorithms can be very difficult.