Navigation

    Cyberian
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Pro Blog
    • Users
    • Groups
    • Unsolved
    • Solved
    1. Home
    2. Tags
    3. assignment 2
    Log in to post
    • All categories
    • Ghulam Hassnain

      STA301 Assignment 2 Solution and Discussion
      STA301 - Statistics and Probability • sta301 assignment 2 solution • • Ghulam Hassnain

      2
      0
      Votes
      2
      Posts
      252
      Views

      zaasmi

      @ghulam-hassnain said in STA301 Assignment 2 Solution and Discussion:

      Please share solution of assignment

      STA301 Assignment 2 Solution 2021.docx

    • cyberian

      STA642 Assignment 2 Solution and Discussion
      STA642 - Probability Distributions • sta642 assignment 2 solution discussion spring 2021 • • cyberian

      1
      0
      Votes
      1
      Posts
      112
      Views

      No one has replied

    • A

      SOLVED CS201 Assignment 2 Solution and Discussion
      CS201 - Introduction to Programming • assignment assignment 2 cs201 discussion fall 2020 solution • • asma zahid

      4
      0
      Votes
      4
      Posts
      1074
      Views

      zaasmi

      // CS201 Assignment 2 Solution Spring 2021 #include <iostream> #include <conio.h> using namespace std; int ShowMatrix() { //main matrix int row=2, column=2; int matrix[2][2] = { {8, -4} , {-6, 2} }; cout<<"The matrix is:"<<endl; for(int i=0; i<row; ++i) { for(int j=0; j<column; ++j) cout<<matrix[i][j]<<" "; cout<<endl; } } //Transpose int showTranspose ( ) { int transpose[2][2], row=2, column=2, i, j; int matrix[2][2] = { {8, -4} , {-6, 2} }; cout<<endl; for(i=0; i<row; ++i) for(j=0; j<column; ++j) { transpose[j][i] = matrix[i][j]; } cout<<"The transpose of the matrix is:"<<endl; for(i=0; i<column; ++i) { for(j=0; j<row; ++j) cout<<transpose[i][j]<<" "; cout<<endl; } } //determenent calculating int calculateDeterminant() { int determMatrix[2][2], determinant; int matrix[2][2] = { {8, -4} , {-6, 2} }; determinant = ((matrix[0][0] * matrix[1][1]) - (matrix[0][1] * matrix[1][0])); cout << "\nThe Determinant of 2 * 2 Matrix = " << determinant; } //Adjoint of matrix int showAdjoint() { int ch,A2[2][2] = {{8,-4},{-6,2}},AD2[2][2],C2[2][2]; //Calculating co-factors of matrix of order 2x2 C2[0][0]=A2[1][1]; C2[0][1]=-A2[1][0]; C2[1][0]=-A2[0][1]; C2[1][1]=A2[0][0]; //calculating ad-joint of matrix of order 2x2 AD2[0][0]=C2[0][0]; AD2[0][1]=C2[1][0]; AD2[1][0]=C2[0][1]; AD2[1][1]=C2[1][1]; cout<<"\n\nAdjoint of A is :- \n\n"; cout<<"|\t"<<AD2[0][0]<<"\t"<<AD2[0][1]<<"\t|\n|\t"<<AD2[1][0]<<"\t"<<AD2[1][1]<<"\t|\n"; } int main() { int cho = 0; cout<<" ||---Enter your choice---||"<<endl; cout<<""<<endl; cout<<"---Press 1 to display the matrix and its transpose---"<<endl; cout<<"---Press 2 to find adjoint and determinant of the matrix---"<<endl; cout<<""<<endl; cout<<"Press any other key to exit."; cout<<""<<endl; cin>>cho; if (cho ==1) { ShowMatrix(); showTranspose ( ); } else if (cho == 2) { showAdjoint(); calculateDeterminant(); } else system("pause"); }
    • J

      MTH101 Assignment 2 Solution and Discussion
      MTH101 - Calculus And Analytical Geometry • assignment 1 assignment 2 discussion fall 2020 mth101 solution • • jahanzaib

      8
      0
      Votes
      8
      Posts
      3252
      Views

      zaasmi

    • Mehwish Jaam

      Edu 406
      EDU406 - Critical Thinking and reflective Practice • assignment 2 • • Mehwish Jaam

      2
      0
      Votes
      2
      Posts
      64
      Views

      zaasmi

      Please post your questions here
      https://cyberian.pk/topic/1126/edu406-assignment-2-solution-and-discussion

    • zaasmi

      MTH603 Assignment 2 Solution and Discussion
      MTH603 - Numerical Analysis • mth603 assignment 2 solution discussion spring 2020 • • zaasmi

      4
      0
      Votes
      4
      Posts
      717
      Views

      zaasmi

      Solution idea

    • zareen

      CS614 Assignment No.2 Solution and Discussion
      CS614 - Data Warehousing • assignment 2 cs614 discussion solution spring 2020 • • zareen

      4
      0
      Votes
      4
      Posts
      59
      Views

      zareen

      @zareen said in CS614 Assignment No.2 Solution and Discussion:

      Question No. 2
      Consider the following normalized tables for a telecommunication company showing the daily call record details of customers:
      Customer_ID Customer Phone No. Balance
      1 033XXXXX 300
      2 033YYYYY 250
      3 033ZZZZZZ 300
      4 033AAAAA 1000
      5 033BBBBB 80
      6 033CCCCC 554
      …
      … …

      Call_ID Customer_ID Dialed Phone Number Duration Call Charges
      1 1 032ABCVD 1 minute 2 RS
      2 1 032ABCVG 2 minutes 4 RS
      3 1 032ABCVD 1 minute 2 RS
      4 2 032ANNNN 3 minutes 6 RS
      5 2 032AMMM 4 minutes 8 RS
      6 3 033RRRRR 1 minute 2 RS
      … … … … …

      Due to certain performance factors company wants to de-normalize the tables using pre-joining technique.
      Table Information is given below:
      • Assume 1:4 record count ratio between customer Info (master) and Call record detail (detail).
      • Assume 15 million customers.
      • Assume 10 byte Customer_ID.
      • Assume 50 byte header for customer Info (master) and 80 byte header for Call record detail (detail) tables.
      You are required to perform the following tasks:
      • Calculate the Total space in GBs used with normalization.
      • Calculate the Total space in GBs used after de-normalization.

      Solution:
      With normalization:
      Total space used = 15 x 50 + 60 x 80 = 5.55 GB

      After de-normalization:
      Total space used = (80 + 50 – 10) x 60 = 7.2 GB

    • zareen

      CS606 Assignment 2 Solution and Discussion
      CS606 - Compiler Construction • cs606 assignment 2 solution discussion spring 2020 • • zareen

      3
      0
      Votes
      3
      Posts
      106
      Views

      zareen

      @zareen said in CS606 Assignment 2 Solution and Discussion:

      Assignment Marks 20
      Question:
      X -> aZ
      X -> c
      Y -> bX
      Z -> Ya
      Z -> XbY
      a) Find First sets for above grammar. (10 Marks)
      b) Find Follow sets for above grammar. (10 Marks)

      Solution:

      a) Find First sets for above grammar. (10 Marks)

      First (X)= a, c
      First (Y)= b
      First (Z)= a, b, c

      b) Find Follow sets for above grammar. (10 Marks)

      Follow (X)= a, b, $
      Follow (Y)= a, b, $
      Follow(Z)= a, b, $

    • zareen

      SOLVED PHY301 Assignment 2 Solution and Discussion
      PHY301 - Circuit Theory • phy301 assignment 2 solution discussion spring 2020 • • zareen

      3
      0
      Votes
      3
      Posts
      351
      Views

      zareen

      @zareen said in PHY301 Assignment 2 Solution and Discussion:

      Label and identify meshes in given below circuit. Use Loop/Mesh analysis to find currents through all Meshes.

    • zaasmi

      CS409 Assignment 2 Solution and Discussion
      CS409 - Introduction to Database Administration • cs409 assignment 2 solution discussion spring 2020 • • zaasmi

      9
      0
      Votes
      9
      Posts
      124
      Views

      zareen

      @zareen said in CS409 Assignment 2 Solution and Discussion:

      Consider the given below the ERD

      b715a3fa-af52-42a4-ac14-a1726d7469d4-image.png

    • zaasmi

      SOLVED CS402 Assignment 2 Solution and Discussion
      CS402 - Theory of Automata • cs402 assignment 2 solution discussion spring 2020 • • zaasmi

      3
      0
      Votes
      3
      Posts
      114
      Views

      H

      Develop a program that calculates Loan in C++. Your program should satisfy the following requirement:
      User Input:
      1 User is asked to enter name.
      2 User is asked to enter number of dependent with range (0-5).
      3 User is asked to enter status i.e. (Permanent or Probation).
      4 User is asked to enter Salary.
      5 User is asked to enter Duration at Job (in years):
      o <1
      o 1-2
      o 2-4
      o 4-7
      o >7
      6 User is asked how much loan is required.

      Criteria:
       Loan can be given if and only if a person is on Permanent job for more than 1 years.
       Minimum salary from which a loan can be given is 35,000 per month for a person having no
      dependent. Minimum salary requirement increases by 20,000 per dependent.
       If years of services is from 1 to 2 years, then max loan amount can be up to 6 salaries.
       If years of services is from 2 to 4 years, then max loan amount can be up to 8 salaries.
       If years of services is from 4 to 7 years, then max loan amount can be up to 10 salaries.
       If years of services is from 7 to 10 years, then max loan amount can be up to 12 salaries.
       If years of services is more than 10 years, then max loan amount can be up to 24 salaries.
       Add 13% interest on the approved loan amount. This amount will be payable within 8 years’
      time i.e. 96 months.
       If the money to lend is more than the lend amount, then calculate the difference and show it
      properly.
       For unsuccessful Loan Application: Show Message: “CUSTOMER NAME, your lend
      application has not been successful this time”.
       For Successful Loan Application: Show Message: “Congratulations CUSTOMER NAME, your
      lend application is successful this time. Your monthly installment will be ______ Amount
      Payable for 96 months”.

    • zaasmi

      CS702 Assignment 2 Solution and Discussion
      CS702 - Advanced Algorithms Analysis and Design • cs702 assignment 2 solution discussion spring 2020 • • zaasmi

      2
      0
      Votes
      2
      Posts
      63
      Views

      zaasmi

      Please share idea

    • zaasmi

      CS405 Assignment 2 Solution and Discussion
      CS405 - Database Programming using Oracle 11g • cs405 assignment 2 solution discussion spring 2020 • • zaasmi

      2
      0
      Votes
      2
      Posts
      115
      Views

      zaasmi

      Please share idea

    • zaasmi

      IT430 Assignment 2 Solution and Discussion
      IT430 - E-Commerce • assignment 2 discussion it430 solution spring 2020 • • zaasmi

      2
      0
      Votes
      2
      Posts
      63
      Views

      zaasmi

      Please share idea solution

    • zaasmi

      CS603 Assignment No. 2 Solution and Discussion
      CS603 - Software Architecture and Design • cs603 assignment 2 solution discussion spring 2020 • • zaasmi

      2
      0
      Votes
      2
      Posts
      197
      Views

      Zill-e-Huma Liaqat

      @zaasmi sir plz solution bta dyn stat404 k

    • zaasmi

      CS441 Assignment 2 Solution and Discussion
      CS441 - Big Data Concepts • cs441 assignment 2 solution discussion spring 2020 • • zaasmi

      2
      0
      Votes
      2
      Posts
      51
      Views

      zaasmi

      Pease star idea solution