Write a thesis on "Blockchain & Decentralization". Decentralization is important to create a secure, non-discriminatory system. [5000 words at least ]
In: Computer Science
Explain a significant difference between Google’s 2009 vision of the user interface of the Chrome operating system and the Chrome OS GUI we see today.
In: Computer Science
Compare and contrast the three levels of permissions available for shared files and folders on Google Drive.
In: Computer Science
Master thesis on "Blockchain Ecosystem development " , Building a thriving ecosystem is key for the long-term success of blockchain projects.
In: Computer Science
this question has been answered incorrectly several times can someone answer it correctly and show me some examples of a run.
AGAIN SOMEONE SENT AN ANSWER THAT IS INCORRECT CAN SOMEONE ELSE PLEASE GET ME THE PROPER ANSWER.
Design and implement a class named Person and its two subclasses named Student and Employee.
Make Faculty and Staff subclasses of Employee.
A person has a name,address, phone number, and email address.
A student has a class status (year 1,year 2,year 3,or year 4).
An employee has an office, salary, and date hired.
Use the Date class from JavaAPI 8 to create an object for date hired.
A faculty member has office hours and a rank.
A staff member has a title.
Override the toString method in each class to display the class name and the person’s name.Design and implement all 5classes.
Write a test program that creates a Person,Student,Employee,Faculty, and Staff, and iinvokes their toString()methods
In: Computer Science
Write a function which takes two words as string arguments and checks whether they are anagrams
NB: Please use spider in anaconda(python) and include a picture of the code
In: Computer Science
Write a program that asks the user to enter a number. Display
the following pattern by writing lines of asterisks.
The first line will have one asterisk, the next two, and so on,
with each line having one more asterisk than the previous
line,
up to the number entered by the user.For example, if the user
enters 5, the output would be:
*
* *
* * *
* * * *
* * * * *
short codes please
In: Computer Science
For each of the following grammars, first classify the grammar as Regular, Linear, Context-Free or Context-Sensitive, and then precisely describe the language generated by the grammar.
R → aR | bR | є
A → aaaA | є
B → Bbb | b
R → aRb | bRa | RR | bR | є
(5) S → a S b | C
Set of terminals here is T = {a, b, c}
C → cc C | є
In: Computer Science
Visual Basics 2015 The local smoothie store, Smoothie Queen has hired you to develop a program that will make it easier for their sales associates to compute a customer's bill. You are to write a program that will allow the cashier to enter in customer information, smoothie information and display the total amount due. Here are the pertinent details: CALCULATIONS: 1. COST OF A SMOOTHIE: The actual cost of the smoothie is based on the smoothie size and the smoothie style. See the table below for price information. Internally you can handle this in one of two ways – you can either store this in a two-dimensional array/table or you can use an array of structures with two fields like you did in the state/abbreviation program. Small Medium Large King Regular 5.99 6.99 7.99 8.99 Organic 6.99 7.99 8.99 9.99 There are two different ways to approach the needed programming for the smoothie prices. You can use either of these – whichever one makes the most sense to you. My personal approach would be the first one (two dimensional arrays) because the data lays out like an Excel spreadsheet so it’s easy to think in rows and columns. But many people would also take the second approach (array of structures): A. Two-Dimensional Array Approach: If you are going to use a 2 dimensional array/table, you could declare it using something like this at the top of your program near your constants: decimal[,] smoothieListDecimal = {{ 5.99M, 6.99M, 7.99M, 8.99M }, { 6.99M, 7.99M, 8.99M, 9.99M }}; In this setup the cost for a particular smoothie would be based on a row and column of the table. For example, smoothieListDecimal [0, 3] would contain the price of a Regular King Smoothie. You will be able to use the selectedIndex for each of the dropdown lists to determine the row and column you need. TIP: You do not need a loop to search for the correct smoothie price. You only need to know the selectedIndex values for the row (smoothie style) and column (smoothie size) B. Array of Structures Approach: A different approach would be to use an array of structures. If you are going to use an array of structures, you could use a similar setup to the state/abbreviation program with the fields being regularDecimal and organicDecimal. You would then need an array of 4 structure elements (for each size) that you would initialize in the form load. 2. SMOOTHIE EXTRAS: A customer can order one or more extras for their smoothie. Toppings are $0.75 each (use a constant) and will be one of the following: Echinacea Bee Pollen Energy Booster 3. DISCOUNTS: A customer may receive a discount on their purchase. Discounts are computed before taxes and can be one of the following (use a constant): None – no discount Preferred customer card - 15% discount Coupon - 10% discount 4. TAXES: The final bill should also add in a state sales tax of 8% before calculating the amount due. You should incorporate a METHOD / FUNCTION to compute the tax. 5. CONSTANTS: Use appropriate constants for all numerical values that are predefined (e.g., extras, tax, discounts). FORMS SPECIFICATIONS AND VALIDATION 1. ABOUT FORM: Your program should have an “About” form that contains the typical information (program name, date, author, etc.). See sample EXE. 2. MAIN FORM (Customer Data): This form will need several components. There are also several required fields that should display appropriate error messages. When in doubt, refer to the sample EXE or post a question on the discussion board. 3. TEXT BOXES: You will use textboxes for the customer information. All fields must contain information or an error message will be displayed. • Customer Name TIP: You do not need to use a Try/Catch to do all the data validation since these are not numeric text fields. You can use a nested IF/ELSE setup to test the fields for the required input to make sure they are not blank. 4. COMBO BOXES/DROPDOWN LISTS • Smoothie Size: Should be one of the following – small, medium, large or king. Selection required. A size must be selected or an error should appear. Hint: Check to ensure the selectedIndex <> -1. • Smoothie Style: Should be one of the following – regular or organic. Selection required. A style must be selected or an error should appear. Hint: Check to ensure the selectedIndex <> -1. 5. CHECKBOXES/GROUPS: • Extras: Can be none, or, one or more of the following: Echinacea, Bee Pollen and Energy Booster. 6. RADIO BUTTONS/GROUPS: • Discount: May be none or 10% coupon or preferred customer (15% discount). 7. PULL DOWN MENUS (EXTRA CREDIT): The menu system should contain the following options (you can organize the menu choices however you’d like): • Calculate - Totals the customer's bill after adding any extras, deducting discounts and adding appropriate tax (assuming all data validation tests are passed). Displays the subtotal, discount, tax and amount due in the label box as currency. Note that if any validation error occurs, the program should not calculate or display any totals. • Clear - Clears all the text, check and option buttons, and totals. Repositions the cursor in the customer name text box for the next customer. • Help/About – Message box with your name and program name. • File/Exit - Exits the program. I have seen this posted before but wanted to see if someone would be able to explain more and possibly post screenshots of the code. Thank you in advance!
In: Computer Science
PYTHON: Turtle Command Interpreter
You will write a program that reads a sequence of codes, converts
them into Turtle commands, and then executes them. The codes are in
a Python list, passed as an argument to your function.
turtleRunner(t, x)
t is a Turtle
x is a list of Turtle commands
(f, d) | Move forward by d pixels |
---|---|
u | Lift pen up |
d | Put pen down |
(l, d) | Turn left by d degrees |
(r, d) | Turn right by d degrees |
(c, s) | Change color to "s" |
(w, d) | Change pen width to d |
For example [("f", 100), ("r", 30), ("c", "red"), "u", ("f",
50), ("r", 60), "d", ("f", 100)] will execute:
t.forward(100)
t.right(30)
t.color("red")
t.penup()
t.forward(50)
t.right(60)
t.pendown()
t.forward(100)
Your program will need to do the following:
x =
[("w",3),("c","red"),("f",100),("r",120),("c","blue"),("f",100),("r",120),("c","green"),("f",100)]
turtleRunner(t, x)
Draws the shape below:
isinstance(x, y) returns True if x is an instance of class y. So
isinstance(e, tuple) will return True if e is a Tuple.
(Note no quotes around tuple in the call)
isinstance(e, str) will return True if e is a String.
Starter code(please by off this):
# Tkinter
#
# Turtle Command Interpreter
#
# You will write a program that reads a list of codes, converts
them into Turtle commands, and then executes them.
#
# Code list:
# (f, d) Move forward by d pixels
# u Up
# d Down
# (l, d) Turn left by d degrees
# (r, d) Turn right by d degrees
# (c, s) Change color to "s"
# (w, d) Change width to d
#
# Example:
# [("f", 100), ("r", 30), ("c", "red"), "u", ("f", 50), ("r", 60),
"d", ("f", 100)]
#
# This will execute:
# t.forward(100)
# t.right(30)
# t.color("red")
# t.penup()
# t.forward(50)
# t.right(60)
# t.pendown()
# t.forward(100)
#
# Your program will need to do the following:
# 1) Define a function named turtleRunner(x), where x is a
list
# 2) Go through each element of x one at a time.
# 3) If the element is a tuple (if isinstance(e, tuple)):
# a) Determine if the code is f, r, or c
# b) Execute the correct turtle command using the
second part of the tuple (a distance or color)
# 4) If the element is a string (if isinstance(e, str)):
# a) Execute the correct turtle command
#
import turtle
def turtleRunner(t, x):
pass
w = turtle.Screen()
t = turtle.Turtle()
x =
[("w",3),("c","red"),("f",100),("r",120),("c","blue"),("f",100),("r",120),("c","green"),("f",100)]
turtleRunner(t, x)
In: Computer Science
the Unix/Linux commands
Whoami shows my username
In: Computer Science
Minor Cineplex
The Minor Cineplex is a local cinema in Neverland that has operated since 1989. It started off with only 1 theatre. Since then, the business has expanded and there are now 4 theatres. Minor Cineplex shows the same movie in every theatre. There are 20 seats in each row in all theatres.
Theatre 1, 2 and 3 have the same seating arrangements and ticket pricing scheme. Each theatre has 200 seats (i.e., 10 rows) divided equally in 2 sections: Front and Back. The ticket price is 250 Baht for the front section and 350 Baht for the back section.
Theatre 4 has only 100 premium seats in 5 rows. Ticket price is 500 Baht for all seats in row 1 to 4. The ticket price in row 5 is 700 Baht.
We are building a ticket selling system for Minor Cineplex. Note that we will only focus on building data models for each theatre and calculate the amount of tickets sold. You can assume that Minor Cineplex only sells tickets for the upcoming showtime (i.e., no advanced booking is allowed).
Design a system for Minor Cineplex so that it allows the box office staff to view and edit the movie title currently in theatres. It must allow the staff book a seat in the specified theatre (if available). The staff must be able to view the amount of tickets sold in the specified theatre as well as the total amount of tickets sold in all theatres.
Here are some design considerations:
Your program should provide the following menu.
Book a seat: The staff has to enter the theatre number along with the seat information to be booked (which includes the row and the seat numbers). The staff can only book one seat at a time. A confirmation message must be shown, if the booking is successful. A staff should be notified with a different message, if the seat is already taken.
Edit movie title: Minor Cineplex’s current policy is to show the same movie in all of its theatres. Note that this policy may be changed in the future.
View sales report: The sales report must show the movie title, the number of tickets sold and the sales amount (THB) for each theatre. The report must also show the total number of tickets sold and the sales amount (THB) in all theatres.
YOUR PROGRAM SHOULD BE IMPLEMENTED USING JAVA PROGRAMMING!!
In: Computer Science
Dear Colleague,
Earlier today I built my seventh website using HTML5, CSS3, and Bootstrap4. Bootstrap seems amazing, but it never did what it should do – make my website look better. Also, my page should have a blue theme that was provided in the CSS folder. This also didn’t work.
My website is supposed to look like what is shown in Figure 1 (see below). Someone told me that there are exactly 10 errors on index.html, 10 errors on contact.html, and 10 errors on events.html. Yes, 30 errors total! Can you help me find all of the errors?
Hint: You should not add ANY LINES to the code. There
will never be more than one error per line number.
index.html ( TOTAL 10 ERRORS HELP FIND AND LIST ERRORS
)
<!doctype html>
<html>
<head>
<head>Try Boro Kids Race Series</title>
<!-- Font Awesome -->
<link rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.6.3/css/all.css">
<!-- Bootstrap CSS -->
<a
href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/css/bootstrap.min.css"
rel="stylesheet">
<!-- JQuery -->
<a type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.1.3/js/bootstrap.min.js"></script>
</head>
<bootstrap>
<div class="container-fluid">
<nav class="navbar navbar-expand-lg navbar-dark
bg-info">
<a class="brand" href="#">
<img src="HeaderBoroRunningMan2.gif" width="auto" height="30"
alt="Running Man Logo">
</a>
<button class="navbar-toggler" type="button"
data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle
navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item active">
<a class="nav-link" href="events.html">Events <span
class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link"
href="contact.html">Contact</a>
</li>
</ul>
<ul class="navbar-nav ml-auto">
<li class="nav-item"><a class="nav-link"
href="http://www.tryborokidstri.org/" target="_blank">Try
Boro</a></li>
<li class="nav-item"><a class="nav-link"
href="https://www.faccebook.com/TryBoroKids/"
target="_blank"><img src="images/IconFacebook.png"
class="iconsocial" alt="Facebook" width="auto"
height="30"></a></li>
</ul>
</div>
</nav>
<div id="carouselIndicators" class="carousel slide"
data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel1" data-slide-to="0"
class="active"></li>
<li data-target="#carousel1" data-slide-to="1"
class="active"></li>
<li data-target="#carousel1" data-slide-to="2"
class="active"></li>
<li data-target="#carousel1" data-slide-to="3"
class="active"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block w-100"
src="images/Banner1_100ChallengeBlueHue.jpg" alt="First
slide">
<div class="carousel-caption d-none d-md-block">
<h5>Try Boro Kids Race Series</h5>
<p>Unique Endurance Events</p>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100" src="images/Banner2_ImageBlueHue.jpg"
alt="Second slide">
<div class="carousel-caption d-none d-md-block">
<h5>Try Boro Kids Race Series</h5>
<p>Running Events</p>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100"
src="images/Banner3_TrailRunBlueHue.jpg" alt="Third
slide">
<div class="carousel-caption d-none d-md-block">
<h5>Try Boro Kids Race Series</h5>
<p>Trail Running</p>
</div>
</div>
<div class="carousel-item">
<img class="d-block w-100"
src="images/Banner4_MedalsBlueHue.jpg" alt="Third slide">
<div class="carousel-caption d-none d-md-block">
<h5>Try Boro Kids Race Series</h5>
<p>Events that are rewarding!</p>
</div>
</div>
</div>
<a class="carousel-control-prev" href="#carouselIndicators"
role="button" data-slide="prev">
<span class="carousel-control-prev-icon"
aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselIndicators"
role="button" data-slide="next">
<span class="carousel-control-next-icon"
aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div class="row p-5">
<div class="col-xs-12">
<h2>Try Boro Events</h2>
<p>The Try Boro Kids Races Series is a non-profit
organization that puts on unique endurance vents to help get kids
active. Founded in 2009 with one triathlon. This event was hosted
by Murfreesboro Parks and Recreation and their SportsCom facility.
That first year saw 175 kids swim, bike, and run and since then the
series has hosted 17 events. For the past 4 years, the series has
hosted a 2.5K/5K Run in May, a triathlon in August, and a trail in
October. </p>
<p>In 2016, the series is partnering with the
Better Boro Project, which is part of an initiative by the city of
Murfreesboro to promote health and fitness. As part of this
initiative, the Try Boro Kids Race Series will host the clinics in
April, 2.5K/5K Run in May, and the trail run in October. The series
will also provide support for other events such as Read to Succeed
and Murph's Fun Run.</p>
</div>
</div>
<footer class="footer bg-primary text-center
text-white">Copyright Try Boro</footer>
</div>
</body>
</html>
HELP LIST AND FIND THE 10 ERRORS
In: Computer Science
10. Which of the following concurrency control protocols ensure both conflict serializability and freedom from deadlock?
(I) 2-phase locking
(II) Time-stamp ordering
(a) < some combination of (I) and (II) >
(b) < some combination of (I) and (II) >
(c) < some combination of (I) and (II) >
(d) Neither (I) nor (II)
In: Computer Science
Write a C++ program to multiply two matrices a and b and print the result. Use two-dimensional arrays to represent the matrices.
In: Computer Science