Use the knowledge in computational language in python to write a code with array of names of people who are in line for movie tickets.
How to define an array in python?Arrays are similar data structures to Python lists, but not as flexible. In an array all elements must be of the same type, typically numeric, such as int or float. Also, the size of an array cannot be modified, unlike lists that can grow dynamically. In contrast, using arrays is much more efficient and makes it easier to compute large volumes of numerical data. This makes arrays particularly useful in scientific computing.
So in an easier way we have that the code is
function start(){
var line = \["Sam", "Lisa", "Laurie", "Bob", "Ryan"\];
for(var i = 0; i < line.length; i++)
{
if(i + 1 == line.length){
println(line[i]);
}else{
print(line[i] + ", ");
}
}
var elim = line.remove(1);
var elim2 = line.remove(0);
for(var i = 0; i < line.length; i++){
if(i + 1 == line.length){
print(line[i]);
}else{
print(line[i] + ", ");
}
}
}
See more about python at brainly.com/question/18502436
Imagine that you’re partner in a business firm that sells computers and other electronic goods. As part of your business organization’s Corporate Social Responsibility drive, you have to present a slide show to the retailers (and the general public) about how to dispose of end-of life electronic goods in an eco-friendly manner. Perform online research and describe available media options to present the slide show.
The best way to dispose of electronic goods is by recycling raw materials and correctly disposing of the remaining hazardous materials.
What does eco-friendly disposal imply?This implies using disposal practices that have a low negative impact on the environment.
How do you dispose electronic goods?The best way to do this is:
Appropiately collect electronic goods that cannot be used anymore.Identify the materials or parts that can be recycled as this reduces the number of new parts that will be manufactured.Separate the recycling materias from those that cannot be recycled.Dispose of the remaining materials in the best way depending on the material as some of these are hazardous and require special disposing practices.Learn more about recycling in: https://brainly.com/question/11861824
By ___, browser cookies can improve a user's online experience.
A. keeping track of data
B. organizing photos
O C. blocking malware
O D. enabling networking
By keeping track of data, browser cookies can improve a user's online experience. So, option A. is the right choice.
By keeping track of data, browser cookies can improve a user's online experience. When a user visits a website, the website may store a small text file, called a cookie, on the user's device. These cookies contain information about the user's preferences, login status, browsing history, and ther relevant data.
Step 1: When a user visits a website, the website sends a cookie to the user's browser.Step 2: The browser stores the cookie on the user's device.Step 3: The next time the user visits the same website, the browser sends the stored cookie back to the website.Step 4: The website uses the information in the cookie to personalize the user's experience, such as remembering their login credentials, displaying customized content, or providing relevant recommendations based on their previous interactions.By keeping track of data through cookies, websites can enhance the user experience by offering personalized content, saving preferences, and improving navigation. This helps users save time and have a more tailored online experience.
The right answer is option A. keeping track of data
For more such question on cookies
https://brainly.com/question/14252552
#SPJ8
How to change notification sounds for different apps.
what is the answer in online learning and digitalcitizenship
Answer: an online encyclopedia.
Explanation: encyclopedias often have constantly updated pieces of news, that are also accompanied by fact-checkers as well unlike newspapers.
Data will zip through a 5G network much faster than through a 4G network because of the 10-fold difference in _____.
Data will zip through a 5G network much faster than through a 4G network because of the 10-fold difference in latency.
What is 5G network ?The 5G is known to be the fifth-generation technology standard that is often used for most broadband cellular networks.
Here, 5G networks will have lower latency when compared to 4G that is it is less than 1 ms than to 10 ms. This implies that data will zip via the network much faster.
Learn more about 5G network from
https://brainly.com/question/24664177
A(n) _________ database is used to collect data that will be used for spotting trends that offer insights for tactical and strategic business decisions.
An operational database is used to collect data that will be used for spotting trends that offer insights for tactical and strategic business decisions.
What is an operational database?An operational database is known to be a kind of a database management system where one can save and processes data using real- life time.
Therefore, an Operational databases often saves manage and monitors real-time business data . For example, a firm can use their operational database to monitor their warehouse or their stock quantities.
Learn more about database from
https://brainly.com/question/26096799
Edhesive Assignment 8: Personal Organizer.
I keep getting a bad input message on my line 52. Any tips on how to fix this?
I've included photos of my code.
In this exercise we have to use the knowledge in computational language in python to write the following code:
What is input?Python's input function takes a single parameter which is a string. This string is often called a prompt because it contains informational text that tells the user to type something. For example, you can call the input function as follows:
So in an easier way we have that the code is:
eventName = []
eventMonth = []
eventDay = []
eventYear = []
def addEvent():
userEventName = input("What is the event: ")
userEventMonth = int(input("What is the month (number): "))
userEventDay = int(input("What is the date: "))
userEventYear = int(input("What is the year: "))
userEventMonth = validateMonth(userEventMonth)
userEventDay = validateDay(userEventMonth, userEventDay, userEventYear)
eventName.append(userEventName)
eventMonth.append(userEventMonth)
eventDay.append(userEventDay)
eventYear.append(userEventYear)
def validateMonth(month):
if month >= 1 and month <= 12:
return month
else:
return 1
def validateDay(month,day,year):
if day < 1 or day > 31:
return 1
if month == 2:
isleap = False
if year%4 == 0:
if year%100 == 0:
if year%400 == 0:
isleap = True
else:
isleap = True
if isleap:
if day <30:
return day
else:
return 1
else:
if day < 29:
return day
else:
return 1
if month in [1,3,5,7,8,10,12]:
return day
if month in [4,6,9,11] and day < 31:
return day
else:
return 1
def printEvents():
print("EVENTS")
months = ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']
for index in range(len(eventName)):
print(eventName[index])
print("Date: "+months[eventMonth[index] -1]+ " " + str(eventDay[index]) + ", " + str(eventYear[index]))
userChoice = "yes"
while userChoice.upper() != "NO":
addEvent()
userChoice = input("Do you want to enter another event? NO to stop: ")
printEvents()
See more about python at brainly.com/question/18502436
what is alternative name of home page
Answer:
In this page you can discover 5 synonyms, antonyms, idiomatic expressions, and related words for home page, like: web page, web site, website, webpage and homepage.
Choose the answer.
The ____ ... meeting is a great way to bring everyone involved together to discuss
the project. Some topics of this meeting include project vision, roles and
responsibilities, team buildings, team commitments, and rules.
Josef wants to read more about Justice Jackson. Josef would find most of the information?
Answer: the answer is d
Explanation:
TRUST ME !!!
Ok. Explain this. Here are the two screenshots. Im offering 100 points.
Answer:
B
Explanation:
0.25>-0.25 because 0.25 is positive and further right on the number line.
Answer:
For the first one it's B cuz, 0.25>-0.25
0.25 is gr8r than negative 0.25
Explanation:
and for the second, I really don't know why it keeps saying that. I tried to answer a question and it said the same. Its kinda annoying
disadvantages of using lossless compression rather than lossy compression
Answer:
Larger files
Explanation
Lossless advantages and disadvantages Advantages: No loss of quality, slight decreases in image file sizes. Disadvantages: Larger files than if you were to use lossy compression.
Compression, Explained. We use compression to make files smaller, so that they take up less storage space and can be downloaded more quickly.
Lossless vs. Lossy Formats.
Lossy Compression. Lossy compression is useful because of its ability to shrink a file to a more convenient size
Select the Pixel Format to be either Mono8 or BayerRG8.
Ensure ISP Enable is not selected (disabled).
From the Image Compression Mode drop-down, select Lossless.
Select the Adaptive Compression Enable checkbox to allow dynamic updates to compression tables to achieve a better compression ratio.
What is another name for several small utility programs that are found in the control panel?
Answer:
Applets
Explanation:
Defintion from Windows - A window containing several small Windows utility programs called applets that are used to manage hardware, software, users, and the system. Accessed through Control Panel, used to set the date and time in Windows.
presenting results to the user is called
Answer:
You're answer is,
Output devices
Explanation:
An output device is any piece of computer hardware equipment which converts information into a human-perceptible form or, historically, into a physical machine-readable form for use with other non-computerized equipment. It can be text, graphics, tactile, audio, or video. Examples include monitors, printers, speakers, headphones, projectors, GPS devices, optical mark readers, and braille readers.
Hope this helps
`
`
`
Tori
1. The running configuration is also known as the _____________ (Select Two) a. Startup config b. Working configuration c. Current configuration d. Backup configuration
Answer:
1. The running configuration is also known as the b. working configuration
c. current configuration
Explanation:
hopes this help (:
The person who decides how to organize data into tables and how to set up the relations between these table is the?
database manager
database technician
databaseadmistrator
database designer
Match the items with their respective descriptions.
defining focus
visual balance
color harmonies
screen design principles
helps make visually attractive and
functional web page
helps with color combinations in a
>
web page
helps scan for Information quickly in a
web page
>
helps provide visually pleasing screen
arrangement in a web page
>
Defining focus helps scan for Information quickly in a web page.
Visual balance helps make visually attractive and functional web pageColor harmonies helps with color combinations in a web pageScreen design principles helps provide visually pleasing screenarrangement in a web page.What is Defining focus?This is known to be a form of good screen design that can help on to highlight important areas to which one can focus on when looking for information.
Note that this form of guidance helps a person to scan for information very fast . Without having a clear focal points, you have to work a lot on the the entire web page.
Learn more about Defining focus from
https://brainly.com/question/7284179
By buying in bulk, Deborah managed to have 6,000 CDs manufactured for $9,000. What was the cost per unit for manufacturing?
Answer: It would be $1.50 per unit
Explanation
what are the major causes of hanging of computers
Answer:
Hangs have varied causes and symptoms, including software or hardware defects, such as an infinite loop or long-running uninterruptible computation, resource exhaustion (thrashing), under-performing hardware (throttling), external events such as a slow computer network, misconfiguration, and compatibility problems.
Explanation:
HOPE IT HELPS
GOOD LUCK
Zoom and Adobe Acrobat Reader are freeware programs. What does this
mean?
A. Anyone can use them free of charge with some limitations.
B. Their source code can be altered or shared as long as attribution
is given
C. Their creators no longer hold the rights to them.
D. Their source code can never be altered.
Which will have "5" as an output?
>>> from gcd import math
>>> gcd(15,20)
>>> from random import GCD
>>> GCD(15,20)
>>> from math import god
>>> gcd(15,20)
>>> from random import GCD
>>> GCD(15.20)
answer ?
The code that will have "5" as an output is as follows;
from math import gcd
gcd(15, 20)
Code explanationThe code is written in python.
GCD is the largest common divisor that divides the numbers without a remainder.
gcd is a function in python that accepts two required integers and it finds the HCF.
Base on the code,
We imported gcd from the math module in python.Then, we inputted the integers in the gcd function.learn more on python here: https://brainly.com/question/25550841
What is HDD in computer and technology
Answer:
Hard Disk, also called hard disk drive or hard drive. It used as Storage.
Storage devices like hard disks are needed to install operating systems, programs and additional storage devices, and to save documents.
Storage Capacity:16 GB, 32 GB and 64 GB. This range is among the lowest for HDD storage space.120 GB and 256 GB. This range is generally considered an entry point for HDD devices such as laptops or computers.500 GB, 1 TB and 2 TB. Around 500 GB and above of HDD storage is typically considered decent for an average user. More than 2 TB. Anything over 2 TB of HDD space is suitable for users who work with high-resolution files, Currently, the highest capacity HDD is 20 TB.The use of the words and, not, and or in a search engine is known as
A) primary search terms.
B) algorithm search terms.
C) Boolean search terms.
D) crawler search terms.
edge 2022
Answer:
a
Explanation:
Mr. stevens is the principal of a high school. why might he want to export data from a database of students’ exam scores? to create a presentation using other software on how students’ scores have changed throughout a semester to view the student data in a new database to query the database and sort students into groups according to their scores to append additional student records to the database
Mr. Stevens wants to export data from database of students’ exam scores to create presentation using other software on how the scores have changed throughout a semester.
What is database?The database is the collection of data which is arranged in proper manner generally electronically in computer system for the easy access and latter use.
The database also help to analyse the data. The data is export from database for following reasons-
For backing up the important data.To move the data from two different program version.Mr. stevens is the principal of a high school. He want to export data from a database of students’ exam scores. With this data he can make presentation to analyze the scores.
Mr. Stevens wants to export data from a database of students’ exam scores to create a presentation using other software on how students’ scores have changed throughout a semester.
Learn more about the database here;
https://brainly.com/question/26096799
Answer:
its A
Explanation:
Mr.stevens needs to create a presentation using other software on how students' scores have changed throughout a semester
What are enterprise messaging solutions most often used by business teams
for?
A. Cataloging and printing shipping labels for product deliveries
B. Sorting through and deleting a large number of company emails
C. Working on projects and communicating with each other to stay
updated
D. Distributing and tracking the use of computers in the workspace
Answer:
C. Working on projects and communicating with each other to stay updated
Explanation:
Working on projects and communicating with each other to stay
updated. Therefore, the correct answer is option C.
An corporate Messaging System (EMS) is a system that allows "program-to-program" messaging across corporate applications and systems.
Company messaging is typically used to integrate several company systems. It is a software interface that allows one programme to send loosely connected asynchronous data (messages) and store it in a message queue until the receiving programme can process it.
Typically, enterprise messaging falls under two categories:
Enterprise Messaging is classified into two types: promotional and transactional.
Bulk SMS messages are used to market a company's products and services. Bulk uploads, templates, phonebooks, scheduling messages, viewing delivery reports, and importing text and excel files are all common capabilities.Transactional SMSs: The SMS is typically sent by the sender's name (brand name) and is available 24 hours a day, seven days a week.Advantages of deploying an EMS:
Secure Messaging - The secure transmission of critical information and files to smartphones or feature phones.Notifications, reminders, and alerts are delivered globally.Two-way interactive SMS is commonly used for appointment confirmation, business process automation, surveys, and voting campaigns.Campaign Control/Management - Marketing programmes can be readily managed and measured in terms of performance.Delivery Assurance - Access to detailed message delivery can be gained.Customer preferences can be used to create customised messaging programmes using intelligent analytics and reporting.Therefore, the correct answer is option C.
Learn more about the enterprise messaging solutions here:
https://brainly.com/question/32271386.
#SPJ3
Which name is given to a hacking technique used against static packet filtering firewalls to discover the rules or filters controlling inbound traffic
Answer:
firewalking
Explanation: hope this helps.
what is the impact of ict on school policy
Answer:
It improves the effectiveness of education. It aids literacy movements. It enhances scope of education by facilitating mobile learning and inclusive education. It facilitates research and scholarly communication.
Explanation:
Answer:
Hello FluffyStrawberry here~
Your answer is
It improves the effectiveness of education. It aids literacy movements. It enhances scope of education by facilitating mobile learning and inclusive education. It facilitates research and scholarly communication
hope it’s helps you
Explanation:
~FluffyStawberry
According to the mil-std-6016 what are the requirements for information to be passed between and among joint forces and organizations, along with the technical interfaces, and protocols called
Based on mil-std-6016, the requirements for information to be passed between and among joint forces, along with the technical interfaces is called Joint Tactical Operations (JTO) Procedural Handbook.
What is Joint Tactical Operations (JTO) Procedural Handbook?This is known to be a book that contains all the provisions that is needed by system operators along with some technical parameters and tactical procedures.
It is often used for the exchange of near real-time data through TDL and it is known to be set up to function on console in the time of joint service operations and exercises.
Learn more about military from
https://brainly.com/question/525279
What does a theme contain?
A theme is a set of colors, fonts, effects, and more that can be applied to your entire presentation to give it a consistent, professional look.
Answer:
It's just the lesson the author wants you to get. The moral of the story!!
Explanation:
The representation of the content, relationships, and constraints of the data needed to support the system requirements is the ________.
The representation of the content, relationships, and constraints of the data needed to support the system requirements is the data model.
What is system relationship data model?The system or Entity Relationship Model (ER Modeling) is known to be a kind of graphical method that is used in database design.
It is known to be a form of high-level data model that helps one to state out the data elements and their linkage for a specific software system. An ER model is often employed to stand for real-world objects.
Learn more about system requirements from
https://brainly.com/question/26420125