Preview

Pt1420 Final Exam

Good Essays
Open Document
Open Document
527 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Pt1420 Final Exam
Rondebosch Boy’s High School
INFORMATION TECHNOLOGY – GRADE 11
7 February 2012
PRACTICAL ClASS TEST
Examiner: G.Cilliers Time: 60 Minutes
-------------------------------------------------
Marks:50

QUESTION 1.

Examine the Database called ResidenceDataBase found in the folder called Question 1 SQL and answer the questions that follow: Save your work on your username in a folder called your Name and Surname.

| Question | Answer (to be written in SQL) | Mark | 1.1 | Write a query to select all the Residence names only once in the Residence TB | | 3 | 1.2 | Write a query to display the cell number of the primaria of Protea |
…show more content…

| | 4 | 1.10 | Formulate an SQL statement to insert a new record into the PirmariiTb table with the values 'Heemstede', ‘Gerda Otto', '0760072008' and 'Sasolburg'. Display all the records and fields in the PirmariiTb table after the new record has been added. | | 3 | 1.11 | Formulate an SQL statement to display the ResidenceName, CostPerPerson, AantalPersone and TipeKamerOfWoonstel fields of the lodgings of which the cost per persone falls between R10000 and R15000 en where the Primaria’s Selphone Number starts with 083. Display readable headings. NB: You will need to link the tables with an appropriate where clause to be able to do this. (6) | | 7 | 1.12 | Write a query to to list the ResidenceName, TypeOfRoomOrFlat, CostPerPerson, NumberOfPersons and CostOfMeals fields. Cost of meals is a calculated field which reflects the cost of meals. The cost of meals is calculated as follows: Percentage For Meals times the Cost Per Person. The values in the CostOfMeals fieldmust be neatly displayed, including the currency | | 5

You May Also Find These Documents Helpful

  • Good Essays

    Sc121 Final Exam

    • 394 Words
    • 2 Pages

    Glucagon causes the liver to convert stored glycogen into glucose, which is released into the bloodstream. High blood glucose levels stimulate the release of insulin.…

    • 394 Words
    • 2 Pages
    Good Essays
  • Satisfactory Essays

    PT1420 U8 Homework

    • 431 Words
    • 4 Pages

    6. a loop that never hits a max value or that never turns true is infinite…

    • 431 Words
    • 4 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Samuel Aggor CSC 1100 3/3/16 Assignment 5 Problem 1 a. Output: 3.94 b. Output: 6.67 c. Output: 15.00 d. Output: -35.00 e. Output: 0 Problem 2 a. Output: 62 b. Output: 20160 c. Output: 20 213837312 d. Output: 1 Problem 3 a. Func1 has two parameters. Func1 is an integer function. b. Func2 has three parameters. Func2 is a double function.…

    • 188 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    Let us now assume that the values of n, m, and p stay the same (n = 100, m = 1000, and p = 100). However, the time needed to execute compute_something_expensive_and_non_parallelizable(i, j) varies at random between 1 second and 20 hours. How would you now map the tasks to processors to make the computations efficient?…

    • 496 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Indeed, Santa Claus is coming to town. Only this time, he's a "Secret Santa" in the form of a casino online video slot game provided by Microgaming. It's hard to imagine there would be slot players who won't enjoy playing the Secret Santa slot, even if it's only during the holiday season. Since the jackpots and excitement exist year-round, it makes perfect sense this game should be considered a keeper 365 games a year.…

    • 605 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Pt1420 Unit 7 Homework

    • 2430 Words
    • 10 Pages

    From my table of values above, it is clear that the change of sign from negative…

    • 2430 Words
    • 10 Pages
    Powerful Essays
  • Good Essays

    Pt1420 Unit 21 Quiz

    • 1899 Words
    • 8 Pages

    Type in the letter that represents your best answer to the corresponding question from the original final exam document.…

    • 1899 Words
    • 8 Pages
    Good Essays
  • Satisfactory Essays

    For Visual Basic a variable’s name must have a letter as the first character, you cannot use spaces, periods, or other special characters such as !@#. The name cannot exceed 255 characters. The variable should not have a similar name as the functions, statements, and methods, and the name cannot be repeated within the scope. This language is not case sensitive.…

    • 333 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    1. Explain in words why the equation {n \choose k} = {n \choose n -k} is true.…

    • 527 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Nt1330 Unit 4

    • 1142 Words
    • 5 Pages

    4. Lynn is adding a billing table to a customer database. If she wants the database to retrieve…

    • 1142 Words
    • 5 Pages
    Good Essays
  • Satisfactory Essays

    2. With the Customers table sorted in alphabetical order by city, what is the name of the first customer to appear in the table?…

    • 314 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    a guide to mysql ch 7

    • 1287 Words
    • 9 Pages

    Except where indicated, use MySQL Query Browser to perform each operation and print the results.…

    • 1287 Words
    • 9 Pages
    Powerful Essays
  • Good Essays

    Pt1420 Unit 7 Analysis

    • 737 Words
    • 3 Pages

    Each of these components is programmed in a specific language, for example, Perl, java. PHP, Python, Ruby, or Erlang. Almost every language supports web programming, Different syntax, and same semantics. Consequently, severer side developers have a tendency to solve every problem in her/his desired…

    • 737 Words
    • 3 Pages
    Good Essays
  • Powerful Essays

    Ebscohost

    • 1141 Words
    • 5 Pages

    • A note about your skills at this point in using the database from which you accessed the resource; what do you still need to practice?…

    • 1141 Words
    • 5 Pages
    Powerful Essays
  • Satisfactory Essays

    Sfasasas

    • 414 Words
    • 2 Pages

    The SQL INSERT INTO syntax has 2 main forms and the result of either of them is adding a new row into the database table.…

    • 414 Words
    • 2 Pages
    Satisfactory Essays