Write a program that requests the user’s language and then prints a greeting in that language. You must include at least five different languages.
Write a program that prints the sum, difference, product, quotient and remainder of two numbers. Initialize the numbers with the values 44 and 2.
Using a while loop, write a program to calculate and print the sum of a given number of squares.
Configure a system to allow files to be shared amongst Linux computers. Create three shares: one called Cheese that is read-only and restricted to the 192.168.1.0/24 network, one called Pickle with read-write access, that permits root privileges and can only be accessed from 192.168.1.1 and one called Crackers that is accessible to 192.168.1.1/24 to 192.168.1.10/24 as read-write and everyone else as read-only. Ensure that all of these files are shared across an array of 2 disks for reliability. Where additional data may be needed to complete this task, generate this using your own judgment.
I want a script in ubuntu
In that script, I need to configure and set up share and set up privileges
Configure a system to allow files to be shared amongst Linux computers. Create three shares: one called Cheese that is read only and restricted to the 192.168.1.0/24 network, one called Pickle with read write access, that permits root privileges and can only be accessed from 192.168.1.1 and one called Crackers that is accessible to 192.168.1.1/24 to 192.168.1.10/24 as read write and everyone else as read only. Ensure that all of these files are shared across an array of 2 disks for reliability. Where additional data may be needed to complete this task, generate this using your own judgement.
I wanted you to create a script using Ubuntu
All the students in a class are involved in any one of the Sports, be it indoor or outdoor. The details of their Names, Roll_no, Sport are recorded as a list. Write pseudocodes to return the following.
a. Given a Roll_no, return the Sport(s) he/ she has registered.
b. Given a Sport, find the list of students who have enrolled for the same
Write an if-else statement that compares the age variable with the value 65. If age is greater than or equal to 65, add 1 to senior_citizens. Otherwise, add 1 to non_seniors.
Given the relations R (A, B) and S (B, C) where values are all integers. Examine the undermentioned three relational algebra expressions
a. A, C(R⋈B=1S)
b. A(B = 1R)XC(B = 1S)
c. A, C (ARXB = 1S)
Two of the three expressions are equivalent (i.e., they produce the same answer on all databases), while one of them can produce a different answer
1.If we apply the cross-product operation to these two instances of STUDENTS & BOOKS, what would be the resulting relation?
STUDENTS
Student_ID Student_Name Qualification
401 Andile HCIT
402 Carol DIT
403 Amber BSc
404 Bright HCIT
BOOKS
Book_ID Title Copy-right
101 Database fundamentals 2017
102 C++ how to program 2018
103 Simply Visual Basic 2019
104 OOP for beginners 2020
1.1 SELECT and RETURN all students with qualification HCIT from relations STUDENTS X BOOKS
1.2 Write a relational algebra expression using the symbolic notation for the given question in (1.1) above.