Preview

slips

Good Essays
Open Document
Open Document
5191 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
slips
Q.1) A) Write a C Program to accept a four digit number from user and count zero , odd and even digits of the entered number. [15 Marks]
B) Write a menu driven program in ‘C’ that shows the working of a library. The menu option should be
- Add book information.
Display book information.
Exit.
(Using Structure Array) [25 Marks]
Q.2) Consider the following Entities and Relationships [30 Marks] Customer (cust_no, cust_name, address, city) Loan (loan_no, loan_amt) Relation between Customer and Loan is Many to Many Constraint: Primary key, loan_amt should be > 0. Create a Database in 3NF & write queries for following.
Find details of all customers whose loan is greater than 10 lakhs.
List all customers whose name starts with 'ba'.
List names of all customers in descending order who has taken a loan in Nasik city.
Display customer details having maximum loan amount.
Calculate total of all loan amount.

Q.3) Draw a histogram to represent the following frequency distribution using
MS Excel.

Size of farm
In hectares
1-20
21-40
41-60
61-80
81-100
101-120
No. of farms
12
38
16
5
3
1 [10 Marks]

Q.4) Journal [10 Marks]

Q.5) Viva [10 Marks]

Q.1) A) Write a C program to generate the following pattern for n lines:

Aa Aa Bb Aa Bb Cc Aa Bb Cc Dd [15 Marks]
B) Write a ‘C’ Program to calculate factorial of given number by using recursion. [25 Marks]

Q. 2) Consider the following Entities and Relationships [30 Marks]
Department (dept_no, dept_name, location) Employee (emp_no, emp_name, address, salary, designation) Relation between Department and Employee is One to Many
Constraint: Primary key, salary should be > 0.
Create a Database in 3NF & write queries for following.
Find total

You May Also Find These Documents Helpful

  • Good Essays

    Slip or Trip?

    • 653 Words
    • 3 Pages

    Queenie arbitrarily left the house to a party at the country club after a tiff with her husband, Arthur. Later, she left the club and invited her friends over for another drink. Queenie arrived at home ten minutes before her friends. At the door she informed her friends that Arthur had slipped and fell on the stairs when he was coming down for another drink, and that she thought he was dead. The autopsy confirmed he was drunk and died from a wound on the head. The question is, did he slip or did she trip him? When you look closer you can conclude that Queenie killed Arthur.…

    • 653 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    a1 script win213

    • 380 Words
    • 2 Pages

    If the user does not enter a numeric value the program should prompt for a numeric value…

    • 380 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    PT1420 Chapter 3 Review

    • 1062 Words
    • 8 Pages

    6. Write a pseudocode statement that declares the variable total so it can hold integers. Initialize the variable with the value 0.…

    • 1062 Words
    • 8 Pages
    Satisfactory Essays
  • Powerful Essays

    3. The main user screen should have a short description saying how to use the program.…

    • 1488 Words
    • 6 Pages
    Powerful Essays
  • Good Essays

    It/210 Final Exam

    • 1235 Words
    • 5 Pages

    3. The main user screen should have a short description saying how to use the program.…

    • 1235 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    5. List the number and name of all customers that are represented by sales rep 35 or that have a credit limit of $10,000.…

    • 672 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    B. Write Code inside the main method and test it by compiling (F9) and running (Shift + F6) your code.…

    • 2338 Words
    • 10 Pages
    Powerful Essays
  • Satisfactory Essays

    Pt1420 Unit 7 Study Guide

    • 582 Words
    • 3 Pages

    17.Write a program to read a binary input from the keyboard and display it. Page: 130…

    • 582 Words
    • 3 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1310 Unit 8 Study Guide

    • 546 Words
    • 3 Pages

    13. Writing a program in a language such as C++ or Java is known as _____ the program.…

    • 546 Words
    • 3 Pages
    Powerful Essays
  • Powerful Essays

    NT2580 Final Study Guide

    • 1423 Words
    • 6 Pages

    4. Which of the following is a detailed written definition of how software and hardware are to be used? (Page 40)…

    • 1423 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    A1 Instructions

    • 522 Words
    • 3 Pages

    Create a new report based on the Loans table using the Report Wizard. Select the CustomerID, Date, Amount, and InterestRate fields. Remove the proposed grouping by the…

    • 522 Words
    • 3 Pages
    Satisfactory Essays
  • Good Essays

    pt1420 exam review

    • 738 Words
    • 3 Pages

    1 - Design the Program2 - Write the Code3 - Correct Syntax Errors4 - Test the Executable Code…

    • 738 Words
    • 3 Pages
    Good Essays
  • Good Essays

    c. Modify the program of Part b so that at the option of the user, it displays…

    • 300 Words
    • 2 Pages
    Good Essays
  • Good Essays

    COS wa 10

    • 297 Words
    • 2 Pages

    Create a set/list of enumerated constants called week that contains the days of the week. Have a variable called today that is of type week. Assign a value to today. If the day is Monday through Friday, print "Go to work!" If the day is Saturday or Sunday, print "You can rest today!"…

    • 297 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Slip or Trip

    • 476 Words
    • 2 Pages

    After a close inspection of the Volupides household and the evidence, I have concluded that there is more to the story than one may think. The police report, the photograph, and the autopsy, makes it very clear that this case was a murder. The police report recalls that Queenie Volupides went out more than once – first to the country club, then once more with friends after a tiff with her husband. During this, it was stated that Queenie had been drinking. When her friends arrived at the Volupides home, Queenie met them at the door and told them her husband, Arthur Volupides, fell down the stairs while coming down for another drink and slipped. She claimed he was dead.…

    • 476 Words
    • 2 Pages
    Good Essays