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 2 Solution and Discussion
CS441 Assignment 1 Solution and Discussion
zaasmiZ
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: [image: Uz89tPV.png] Sample output for the wrong input: [image: 1Dw0vOn.png] Sample output for the correct input: [image: ZYZEfvz.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
CS441 Assignment 2 Solution and Discussion
zaasmiZ
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: ID Name Address 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: [image: JFfMC4w.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 CS441@vu.edu.pk GOOD LUCK
CS441 - Big Data Concepts
CS441 Assignment 2 Solution and Discussion
zareenZ
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: Name Brand Price 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: [image: RUT8bno.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 CS441@vu.edu.pk GOOD LUCK
CS441 - Big Data Concepts
CS441 Assignment 3 Solution and Discussion
zareenZ
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 CS441@vu.edu.pk GOOD LUCK Marks: 20 Problem Statement: You are required to write HiveQL queries for the following tasks: 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.
CS441 - Big Data Concepts
CS441 Assignment 1 Solution and Discussion
zareenZ
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: [image: n47ASQS.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

CS441 Assignment 2 Solution and Discussion

Scheduled Pinned Locked Moved CS441 - Big Data Concepts
cs441assignment 2solutiondiscussionspring 2020
2 Posts 1 Posters 609 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 Offline
    zaasmiZ Offline
    zaasmi
    Cyberian's Gold
    wrote on last edited by
    #1

    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 CS441@vu.edu.pk

    GOOD LUCK

    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 Cyberian only for Solution.
    Cyberian 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
    • zaasmiZ Offline
      zaasmiZ Offline
      zaasmi
      Cyberian's Gold
      wrote on last edited by
      #2

      Pease star idea solution

      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 Cyberian only for Solution.
      Cyberian 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

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


      How to Build a $1,000/Month PAK VS BAN Live Live Cricket Streaming
      File Sharing
      Earn with File Sharing

      0

      Online

      3.0k

      Users

      2.8k

      Topics

      8.1k

      Posts
      solution
      1235
      discussion
      1195
      fall 2019
      813
      assignment 1
      428
      assignment 2
      294
      spring 2020
      265
      gdb 1
      238
      assignment 3
      79
      • PM. IMRAN KHAN
        undefined
        4
        1
        4.0k

      • Are the vaccines halal or not?
        undefined
        4
        1
        3.8k

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

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

      • How can I receive Reputation earning from Cyberian? 100% Discount on Fee
        Y
        ygytyh
        3
        28
        23.9k
      | |
      Copyright © 2010-26 RUP Technologies LLC. USA | Contributors
      • 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