
-
Re: CS441 Assignment 1 Solution and Discussion
Assignment No. 1Semester: Spring 2020
CS441 – Big Data Concepts
Total Marks: 20
Due Date: 01/06/2020
Lectures covered:
Week 1 to week 3Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/students).Software allowed to develop Assignment
Python editorObjectives:
To enable students to write, execute a program in Python. Moreover to familiarize students with the concepts of:
• Variables and operators
• Conditional statements
• Loop structuresAssignment Submission Instructions
You have to submit only.py file on the Assignments interface of CS441 on VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.Assignment
Write a program in Pyton programming language, which allows the user to input an integer value for a variable named upperLimit. Based on the input value, the program should perform the following tasks:
• Check whether the value entered by the user falls within the range from 1 to 100. (1 and 100 included in the given range.)
• Calculate and display the sum of all numbers within the range (1 to upperLimit).
• Calculate and display the average of all numbers within the range (1 to upperLimit).
• Calculate and display the total number of numbers within the range (1 to upperLimit).Sample output for the wrong input:
Sample output for the wrong input:
Sample output for the correct input:
Deadline:
The deadline to submit your assignment solution is 01/06/2020. Your assignment must be submitted within the due date through VULMS. No assignment will be accepted through email after the due date. -
Re: CS441 Assignment 2 Solution and Discussion
Assignment No. 02SEMESTER Spring 2020
CS441- Big Data Concepts
Total Marks: 20Due Date: 18/06/2020
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/students).Software allowed to develop Assignment
Python editorObjectives:
To enable students to write, execute a program in Python. Moreover to familiarize students with the concepts of:• Classes and objects
• Constructor
• Object declaration
• Methods/functions callingAssignment Submission Instructions
You have to submit only.py file on the Assignments interface of CS441 at VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.Lectures Covered: This assignment covers Weeks # 03 - 05
Deadline
Your assignment must be uploaded/submitted on or before 18/06/2020.Question statement:
Write a Python program that will create a class named Employee.
This class will have 4 data members:
ID Name Address DesignationThe Employee class will have the following setter functions:
setID(), which takes a single parameter of appropriate data type
setName (), which takes a single parameter of appropriate data type
setAddress(), which takes a single parameter of appropriate data type
setDesignation(), which takes a single parameter of appropriate data typeThe Employee class will have the following getter functions:
getID()
getName()
getAddress()
getDesignation()You are required to write a default constructor for this class.
In the default constructor, you will initialize all the data members with the its default values. The message “Default constructor called” should be displayed whenever an object is created with the default constructor.
Now, create an object by using the default constructor and display the values of data members through calling getters functions.
Then set the values of the data members by calling the setters functions and then display its values by calling getters functions.
Sample Output:
To solve this assignment, you need to install latest Python compiler or you can run (check) your code through online compiler at the following link:
https://www.onlinegdb.com/online_python_compiler
=====================================Ended=======================================For any query about the assignment, contact at [email protected]
GOOD LUCK
-
Assignment No. 02
SEMESTER Fall 2019
CS441- Big Data Concepts
Total Marks: 20Due Date: 28/09/2019
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/students).Software allowed to develop Assignment
Python editorObjectives:
To enable students to write, execute a program in Python. Moreover to familiarize students with the concepts of:• Classes and objects
• Constructor
• Object declaration
• Methods/functions callingAssignment Submission Instructions
You have to submit only.py file on the Assignments interface of CS441 at VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.Lectures Covered: This assignment covers Weeks # 03 - 05
Deadline
Your assignment must be uploaded/submitted on or before 28/09/2019.Question statement:
Write a Python program that will create a class named Product.
This class will have 4 data members:
Name Brand Price QuantityThe Product class will have the following setter functions:
setName (), which takes a single parameter
setBrand(), which takes a single parameter
setPrice(), which takes a single parameter
setQuantity(), which takes a single parameterThe Product class will have the following getter functions:
getName()
getBrand()
getPrice()
getQuantity()You are required to write a parameterized constructor for this class.
In parameterized constructor, you will initialize all the data members with the values passed to it as an arguments. The message “Parameterized constructor called” should be displayed whenever an object is created with the parameterized constructor.
Now, create an object by using the parameterized constructor and display the values of data members through calling getters functions.
Then set the values of the data members by calling the setters functions and then display its values by calling getters functions.
Sample Output:
To solve this assignment, you need to install latest Python compiler or you can run (check) your code through online compiler at the following link:
https://www.onlinegdb.com/online_python_compiler
=====================================Ended=======================================For any query about the assignment, contact at [email protected]
GOOD LUCK
-
Assignment No. 03 (Graded)
SEMESTER Fall 2019
CS441- Big Data Concepts Total Marks: 20
Due Date: 20-01-2020
Instructions
Please read the following instructions carefully before submitting the assignment:
It should be clear that your assignment will not get any credit if:
o Assignment is submitted after the due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/students).
Objectives:
To enable students to write and execute different HivQL queries like:
• Create database
• Create table
• Load data in a table
• Select queryLectures Covered: This assignment covers Topics of Week-10.
Create a database named as “VU”. Create the following table named as “Student” in the “VU” database: Field Name Data type Std-ID int Std-Name String Std-Fname String CGPA Float Cell No String Study Program String Write a Hive query that adds the following rows in the “Student” table. Consider that the following data is stored in a text file named as “Std-Data.txt” in /home/user directory. 101 Kamran Usman 3.0 0300-0000000 BCS 102 Arshad Anwaar 2.75 0321-1111111 MCS 103 Waqar Jehanzeb 3.5 0345-2222222 MBA 104 Saad Ameen 2.25 0312-3333333 MCS 105 Pervez Khalid 3.75 0333-4444444 BCS Write a Hive query that display all the information of those students whose CGPA is equal or greater than 3.0. Write a Hive query that find the total number of students in each study program.
Assignment Submission Instructions
You have to submit only .doc file on the Assignments interface of CS441 on VULMS. An assignment submitted in any other format will not be accepted and will be graded zero marks.
You can visit the following link in order to write the HivQL queries with the help of online editor:
https://demo.gethue.com/hue/accounts/login?next=/hue
Kindly provide user name and password as demo in order to access the editor and to write and run different HIVQL queries.
For any query about the assignment, contact at [email protected]
GOOD LUCK
Marks: 20
Problem Statement:
You are required to write HiveQL queries for the following tasks: -
Assignment No. 1
Semester: Fall 2019
CS441 – Big Data Concepts
Total Marks: 20
Due Date: 14/11/2019
Lectures covered:
Week 1 to week 3Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/students).Software allowed to develop Assignment
Python editorObjectives:
To enable the students to write and execute a program in Python. Moreover to familiarize students with the concepts of:• Variables
• Operators
• Conditions
• Loop structuresAssignment Submission Instructions
You have to submit only.py file on the Assignments interface of CS441 on VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.Assignment
Write a program in Pyton programming language, which allows the user to input an integer value for a variable named upprtLimit. Based on the input value, the program should perform the following tasks:
• Find the even numbers within the given range (0 to upperLimit) and display all the even numbers on the screen.
• Find the odd numbers within the given range (0 to upperLimit) and display all the odd numbers on the screen.
• Calculate and display the sum of all even numbers within the given range (0 to upperLimit).
• Calculate and display the sum of all odd numbers within the given range (0 to upperLimit).
• Display the total number of even and odd numbers within the given range (0 to upperLimit).For example, if a user enters upperLimit=20, then the sample output will be:
Sample output:
Deadline:
The deadline to submit your assignment solution is 14/11/2019. Your assignment must be submitted within the due date through VULMS. No assignment will be accepted through email after the due date.
SOLVED CS441 Assignment 1 Solution and Discussion
-
Assignment No. 1
Semester: Fall 2019
CS441 – Big Data Concepts
Total Marks: 20
Due Date: 14/11/2019
Lectures covered:
Week 1 to week 3Instructions
Please read the following instructions carefully before submitting assignment:
It should be clear that your assignment will not get any credit if:o Assignment is submitted after due date.
o Submitted assignment does not open or file is corrupt.
o Assignment is copied (From internet/students).Software allowed to develop Assignment
- Python editor
Objectives:
To enable the students to write and execute a program in Python. Moreover to familiarize students with the concepts of:• Variables
• Operators
• Conditions
• Loop structuresAssignment Submission Instructions
You have to submit only.py file on the Assignments interface of CS441 on VULMS. Assignment submitted in any other format will not be accepted and will be graded zero marks.Assignment
Write a program in Pyton programming language, which allows the user to input an integer value for a variable named upprtLimit. Based on the input value, the program should perform the following tasks:
• Find the even numbers within the given range (0 to upperLimit) and display all the even numbers on the screen.
• Find the odd numbers within the given range (0 to upperLimit) and display all the odd numbers on the screen.
• Calculate and display the sum of all even numbers within the given range (0 to upperLimit).
• Calculate and display the sum of all odd numbers within the given range (0 to upperLimit).
• Display the total number of even and odd numbers within the given range (0 to upperLimit).For example, if a user enters upperLimit=20, then the sample output will be:
Sample output:
Deadline:
The deadline to submit your assignment solution is 14/11/2019. Your assignment must be submitted within the due date through VULMS. No assignment will be accepted through email after the due date. -
Solution 100%
start=0 evensum=0 oddsum=0 counteven=0 countodd=0 print("Enter the upper Limit:") upperLimit=input() print print("Even numbers are:") for num in range(start, upperLimit+1): if num%2==0: evensum=evensum+num counteven=counteven+1 print(num) print print("Sum of Even numbers:") print(evensum) print print("Total number of Even numbers within the range are:") print(counteven) print print("Odd numbers are:") for num1 in range(start, upperLimit+1): if num1%2!=0: oddsum=oddsum+num1; countodd=countodd+1 print(num1) print print("Sum of Odd numbers:") print(oddsum) print print("Total number of Odd numbers within the range are:") print(countodd)
-
Solution 100%
start=0 evensum=0 oddsum=0 counteven=0 countodd=0 print("Enter the upper Limit:") upperLimit=input() print print("Even numbers are:") for num in range(start, upperLimit+1): if num%2==0: evensum=evensum+num counteven=counteven+1 print(num) print print("Sum of Even numbers:") print(evensum) print print("Total number of Even numbers within the range are:") print(counteven) print print("Odd numbers are:") for num1 in range(start, upperLimit+1): if num1%2!=0: oddsum=oddsum+num1; countodd=countodd+1 print(num1) print print("Sum of Odd numbers:") print(oddsum) print print("Total number of Odd numbers within the range are:") print(countodd)
50% Off on Your FEE Join US!


