Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Pro Blog
  • Users
  • Groups
  • Unsolved
  • Solved
Collapse
Secnto AI
  1. Secnto AI
  2. Categories
  3. Virtual University
  4. CS441 - Big Data Concepts
  5. CS441 Assignment 1 Solution and Discussion
CS441 Assignment 1 Solution and Discussion
zaasmiZ zaasmi

Re: CS441 Assignment 1 Solution and Discussion

Assignment No.  1

Semester: Spring 2020
CS441 – Big Data Concepts
Total Marks: 20
Due Date: 01/06/2020
Lectures covered:
Week 1 to week 3

Instructions
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 students to write, execute a program in Python. Moreover to familiarize students with the concepts of:
• Variables and operators
• Conditional statements
• Loop structures

Assignment 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:
0dc57223-3af8-49ca-a7ce-e95a5d2ec81f-image.png

Sample output for the wrong input:

ad04a7df-09b6-41d8-8ad8-d1c79cba3c0d-image.png

Sample output for the correct input:

cbc6325a-a282-467b-a7dc-01cb8fe23173-image.png

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.

CS441 - Big Data Concepts
2 Posts
0 Votes
CS441 Assignment 2 Solution and Discussion
zaasmiZ zaasmi

Re: CS441 Assignment 2 Solution and Discussion

Assignment No. 02

SEMESTER Spring 2020
CS441- Big Data Concepts
Total Marks: 20

Due 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 editor

Objectives:
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 calling

Assignment 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:

  1. ID
  2. Name
  3. Address
  4. Designation

The 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 type

The 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:
ede5c023-3492-4a31-960f-3f69faf84ff8-image.png

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

CS441 - Big Data Concepts
2 Posts
0 Votes
CS441 Assignment 2 Solution and Discussion
zareenZ zareen

Assignment No. 02
SEMESTER Fall 2019
CS441- Big Data Concepts
Total Marks: 20

Due 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 editor

Objectives:
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 calling

Assignment 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:

  1. Name
  2. Brand
  3. Price
  4. Quantity

The 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 parameter

The 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:
557f4778-6ab5-4dd1-b364-f463824e31e7-image.png

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

CS441 - Big Data Concepts
2 Posts
0 Votes
CS441 Assignment 3 Solution and Discussion
zareenZ zareen

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 query

Lectures Covered: This assignment covers Topics of Week-10.
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:

  1. Create a database named as “VU”.
  2. 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
  1. 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
  1. Write a Hive query that display all the information of those students whose CGPA is equal or greater than 3.0.
  2. Write a Hive query that find the total number of students in each study program.
CS441 - Big Data Concepts
2 Posts
0 Votes
CS441 Assignment 1 Solution and Discussion
zareenZ zareen

Assignment No. 1
Semester: Fall 2019
CS441 – Big Data Concepts
Total Marks: 20
Due Date: 14/11/2019
Lectures covered:
Week 1 to week 3

Instructions
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 structures

Assignment 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:
ab206076-1e63-433c-8c67-8b6ecaeee00f-image.png

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.

CS441 - Big Data Concepts
2 Posts
0 Votes

CS441 Assignment 1 Solution and Discussion

Scheduled Pinned Locked Moved Solved CS441 - Big Data Concepts
cs441assignment 1solutiondiscussionspring 2020
2 Posts 1 Posters 827 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • zaasmiZ Online
    zaasmiZ Online
    zaasmi
    Cyberian's Gold
    wrote on last edited by
    #1

    Re: CS441 Assignment 1 Solution and Discussion

    Assignment No.  1
    

    Semester: Spring 2020
    CS441 – Big Data Concepts
    Total Marks: 20
    Due Date: 01/06/2020
    Lectures covered:
    Week 1 to week 3

    Instructions
    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 students to write, execute a program in Python. Moreover to familiarize students with the concepts of:
    • Variables and operators
    • Conditional statements
    • Loop structures

    Assignment 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:
    0dc57223-3af8-49ca-a7ce-e95a5d2ec81f-image.png

    Sample output for the wrong input:

    ad04a7df-09b6-41d8-8ad8-d1c79cba3c0d-image.png

    Sample output for the correct input:

    cbc6325a-a282-467b-a7dc-01cb8fe23173-image.png

    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.

    Discussion is right way to get Solution of the every assignment, Quiz and GDB.
    We are always here to discuss and Guideline, Please Don't visit Community only for Solution.
    Community Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
    [NOTE: Don't copy or replicating idea solutions.]
    VU Handouts
    Quiz Copy Solution
    Mid and Final Past Papers
    Live Chat

    zaasmiZ 1 Reply Last reply
    0
    • zaasmiZ zaasmi

      Re: CS441 Assignment 1 Solution and Discussion

      Assignment No.  1
      

      Semester: Spring 2020
      CS441 – Big Data Concepts
      Total Marks: 20
      Due Date: 01/06/2020
      Lectures covered:
      Week 1 to week 3

      Instructions
      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 students to write, execute a program in Python. Moreover to familiarize students with the concepts of:
      • Variables and operators
      • Conditional statements
      • Loop structures

      Assignment 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:
      0dc57223-3af8-49ca-a7ce-e95a5d2ec81f-image.png

      Sample output for the wrong input:

      ad04a7df-09b6-41d8-8ad8-d1c79cba3c0d-image.png

      Sample output for the correct input:

      cbc6325a-a282-467b-a7dc-01cb8fe23173-image.png

      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.

      zaasmiZ Online
      zaasmiZ Online
      zaasmi
      Cyberian's Gold
      wrote on last edited by
      #2

      @zaasmi said in CS441 Assignment 1 Solution and Discussion:

      Re: CS441 Assignment 1 Solution and Discussion

      Assignment No. 1
      Semester: Spring 2020
      CS441 – Big Data Concepts
      Total Marks: 20
      Due Date: 01/06/2020
      Lectures covered:
      Week 1 to week 3

      Instructions
      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 students to write, execute a program in Python. Moreover to familiarize students with the concepts of:
      • Variables and operators
      • Conditional statements
      • Loop structures

      Assignment 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:
      0dc57223-3af8-49ca-a7ce-e95a5d2ec81f-image.png

      Sample output for the wrong input:

      ad04a7df-09b6-41d8-8ad8-d1c79cba3c0d-image.png

      Sample output for the correct input:

      cbc6325a-a282-467b-a7dc-01cb8fe23173-image.png

      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.

      Solution Code:

      start=1
      sum=0.0
      average=0.0
      count=0
      
      print("Enter the upper Limit:")
      upperLimit=input()
      
      if upperLimit<=1:
      	print("Wrong input!! Upper Limit should not be less than 1")
      elif upperLimit>100:
      	print("Wrong input!! Upper Limit should not be greter than 100")
      else:
              print
              for num in range(start, upperLimit+1):
                      sum=sum+num
                      count=count+1
              
              print("Sum of all numbers within the range:")
              print(sum)
              print
              average= sum/count
              print("Average of all the numbers within the range:")
              print(average)
              print
              print("Total number of numbers within the range:")
              print(count)
      
      

      Discussion is right way to get Solution of the every assignment, Quiz and GDB.
      We are always here to discuss and Guideline, Please Don't visit Community only for Solution.
      Community Team always happy to facilitate to provide the idea solution. Please don't hesitate to contact us!
      [NOTE: Don't copy or replicating idea solutions.]
      VU Handouts
      Quiz Copy Solution
      Mid and Final Past Papers
      Live Chat

      1 Reply Last reply
      0

      Hello! It looks like you're interested in this conversation, but you don't have an account yet.

      Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

      With your input, this post could be even better 💗

      Register Login
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      Reputation Earning
      How to Build a $1,000/Month World CUP LIVE Matches Live Cricket Streaming
      Sponsored
      File Sharing
      Earn with File Sharing
      Stats

      1

      Online

      3.1k

      Users

      2.8k

      Topics

      8.6k

      Posts
      Popular Tags
      solution
      1235
      discussion
      1195
      fall 2019
      813
      assignment 1
      428
      assignment 2
      294
      spring 2020
      265
      gdb 1
      238
      assignment 3
      79
      Trending
      • PM. IMRAN KHAN
        Zaeem ChZ
        Zaeem Ch
        4
        3
        5.0k

      • Are the vaccines halal or not?
        4
        1
        4.3k

      • All Subjects MidTerm and Final Term Solved Paper Links Attached Please check moaaz past papers
        zaasmiZ
        zaasmi
        3
        26
        80.9k

      • CS614 GDB Solution and Discussion
        M
        moaaz
        3
        3
        8.8k

      • How can I receive Reputation earning from Cyberian? 100% Discount on Fee
        Y
        ygytyh
        3
        28
        27.6k

      Online User
      zaasmiZ
      zaasmi
      | |
      Copyright © 2010-26 RUP Technologies LLC. USA | Contributors | Privacy | Terms
      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Pro Blog
      • Users
      • Groups
      • Unsolved
      • Solved