Discuss how the ability of companies to stream movies and TV programs on demand to our homes is changing our viewing habits. Contrast the offerings of providers such as Hulu and Netflix.
In: Computer Science
What is the first valid host on the Subntwork that the
node 192.168.105.35 255.255.255.248 belOngs to?
with steps pls .. thanks
In: Computer Science
Assume a user wants to classify numbers in terms of whether they
are “divisible by
2”, “divisible 3”, “both visible by 2 and 3” and “neither divisible
by 2 nor 3”. Clearly
for each integer, only one of the classes is most accurate.
Write a SPIM program which allows a user to enter 5 integers and
for each of them,
determines which of the mentioned classes it belongs to.
In: Computer Science
SUMMER would be 90 or higher
SPRING would be 70 to less than 90
FALL would be 50 to less than 70
WINTER would be less than 50
Consider it an error if the user ever accentually enters a value less than 0, greater than 110.
In: Computer Science
c++
students.txt
20
Shawn Lynch 2.0 Hasan Stephens 2.6 Frank Wright 2.7 Hugo Ray 2.9 Justin Gardner 3.0 Kelly Jenkins 2.2 Rafael Seymour 3.7 Jose Cantu 0.6 David Gilmore 1.3 Emma Paterson 2.1 Jackie White 1.9 Robert Green 3.8 Julio Armstrong 1.1 Erik Cook 4.0 Jessica Hale 3.0 Vanessa Rivera 0.9 Sandra Ferguson 3.1 Christian Wang 1.1 Jackson Martinez 1.9 Austin Black 4.0
For your program, you will need to define a class Student, with private members for first name, last name, and GPA, and any methods you determine that you need (constructors, gets/sets, etc.) Once the class is defined, you will need to populate an array of Student objects to be sorted with data provided in the students.txt file.
First line in the text file will be size of the array.
Every line after the first contains three pieces of information, separated by spaces: First Name, Last Name, and GPA
and sort the Student data by GPA.(Using MergeSort or QuickSort)
display unsorted data and sorted data
In: Computer Science
Windows OS and System Admin
AD FS gives users the ability to do a single sign-on (SSO) and access applications on other networks without needing a secondary password. Organizations can set up trust relationships with other trusted organizations so a user’s digital identity and access rights can be accepted without a secondary password.
Group of answer choices
Primary domain controller
Backup domain controller
Read-only domain controller
Universal Group Membership caching
In: Computer Science
Use linux
Original question:
d) Use metacharacters and the ls -lL command (with lower and
upper case L) to list all filenames under the datafiles
directory that contain a dot '.' with the letter 'f' or 'u'
anywhere after the dot.
e) Use metacharacters and a single ls -lL command (with lower and
upper case L) to listall file names that contain a dot '.' followed
by a lower case letter, then end with the letter 't' or 'r' as the
second from last character. And these files should be from your
current directory as well as any directory under the current
directory that contains the letters "data".
For example: data1/a.pqrs would be a match, but dabta.Dtu and
datafiles/.softdo not match.
Hint: use two command arguments, one for the
current directory, and one for directories the contain 'data'.
Instructure sample output:
d)
-rwx------ 1 rpa b20003 2401 Sep 5 14:15
datafiles/famous.backup
-rwx------ 2 rpa b20003 2401 Sep 5 14:25
datafiles/famous.soft
e)
-rwx------ 2 rpa b20003 2401 Sep 5 14:25
datafiles/famous.hard
-rwx------ 2 rpal b20003 2401 Sep 5 14:25 famous.data
What I have so far:
[dfoote1$$$$$$ bin]$ ls -lL /students/dfoote1/bin/datafiles/*.*[fu]* -rwx------ 1 dfoote1 students 2401 Sep 17 17:45 /students/dfoote1/bin/datafiles/famous.backup -rwx------ 2 dfoote1 students 2401 Sep 17 16:15 /students/dfoote1/bin/datafiles/famous.soft [dfoote1$$$$$$ bin]$ ls -ll /students/dfoote1/bin/datafiles/*.*[fu]* -rwx------ 1 dfoote1 students 2401 Sep 17 17:45 /students/dfoote1/bin/datafiles/famous.backup lrwxrwxrwx 1 dfoote1 students 33 Sep 17 17:40 /students/dfoote1/bin/datafiles/famous.soft -> /students/dfoote1/bin/famous.data
In: Computer Science
Write the main.c program for a PSoC project that takes an input byte and converts it to an integer value in base 10 for subsequent processing within the program as an integer. (Example, 0x5A = 9010).
In: Computer Science
•A theater owner agrees to donate a portion of gross ticket sales to a charity
•The program will prompt the user to input:
−Movie name
−Adult ticket price
−Child ticket price
−Number of adult tickets sold
−Number of child tickets sold
−Percentage of gross amount to be donated
•Inputs: movie name, adult and child ticket price, # adult and child tickets sold, and percentage of the gross to be donated
•The program needs to:
1.Get the movie name
2.Get the price of an adult ticket price
3.Get the price of a child ticket price
4.Get the number of adult tickets sold
5.Get the number of child tickets sold
In: Computer Science
Program Requirements:
An Internet service provider has three different
subscription
packages for its customers:
Package A: For $15 per month with 50 hours of access
provided.
Additional hours are $2.00 per hour over 50 hours.
Assume usage is recorded in one-hour increments,
Package B: For $20 per month with 100 hours of access
provided.
Additional hours are $1.50 per hour over 100 hours.
Package C: For $25 per month with 150 hours access is
provided.
Additional hours are $1.00 per hour over 150 hours
Write a program that calculates a customer’s monthly
charges.
Implement with the following functions for your solution.
getPackage
validPackage
getHours
validHours
calculatePkg_A
calculatePkg_B
calculatePkg_C
calculateCharges
showBill
----------------------------------------------
Demonstrate test cases as described in table:
----------------------------------------------
Test Case Package
Hours
1
A
50
2
a
51
3
B
100
4
b
101
5
C
149
6
c
151
7
e
720
8
c
722
In: Computer Science
Part I
Your answer should contain three different schemas, one for each case.
In: Computer Science
In this program, you will write a simple program that holds all of the states and their corresponding capitals in a Map.
PROGRAM MUST BE DONE IN JAVA
Your program must have the following features:
·This program will be a Java Console Application called StateCapitals.
·Create a Map to hold the
names of all the states and their corresponding capital
names.
(State name is the key, capital name is the value.)
·Load the HashMap with each
state/capital pair.
(This should be hard-coded.)
·Print all of the state names
to the screen.
(Hint: Get the keys from the map and then print each state name one
by one.)
·Print all of the capital
names to the screen.
(Hint: Get the values from the map and then print each capital name
to the screen one by one.)
·Print each state along with
its capital to the screen.
(Hint: Use the key set to get each value from the map one by one,
printing both the key and value as you go.)
Sample output (order may vary):
STATES:
=======
Alabama
Alaska
Arizona
Arkansas
…
…
CAPITALS:
=========
Montgomery
Juneau
Phoenix
Little Rock
…
…
STATE/CAPITAL PAIRS:
====================
Alabama - Montgomery
Alaska - Juneau
Arizona - Phoenix
Arkansas - Little Rock
In: Computer Science
Compare and contrast two difference cloud computing services (Amazon Web Service and Microsoft Azure). Explain the differences and the similarities and select your choice of providers if you had to make the decision for your business. Write up a comparison on the services offered (2 pages maximum). Once again, it is essential that you use your own words (do not just copy and paste from the Internet).
In: Computer Science
(1) Why do several functions in iostream and fstream have identical names? When is it advantageous to reuse function names?
(2) Describe the five-step process of file I/O. Explain how to use ifstream and ofstream to open and close input and output files. Illustrate the process with the skeleton program provided in this section.
Please describe in details.
In: Computer Science
Thoroughly discuss a real-life example where a Boyer-Moore string search could be used.
In: Computer Science