SPN 100 - Final Exam Study Guide
.pdf
keyboard_arrow_up
School
National University College *
*We aren’t endorsed by this school
Course
100
Subject
Computer Science
Date
Jun 11, 2024
Type
Pages
1
Uploaded by AdmiralHare27
National University SPN 100 Prof. David A. Sanchez
FINAL EXAM STUDY GUIDE This is an 18-questions Exam 20 pts. TOTAL Question 1 (Vocabulary-matching) (4 points) Put the given vocabulary words in the dialogue to correspond with the numbered blanks. Given words:
paseo, mar, espectáculo, ciudad, museo, sol, playa, contigo Questions 2-5 (Servs. Estar) (2.0 points) Fill in the blank with the conjugated form of SER
or ESTAR in the present tense
. Question 6 (Verb Conjugation- Los preparativos) (2.0 points) Choose the verb that best completes each sentence and CONJUGATE
it in the present tense
. Questions 7-11 (Reading Comprehension) (2.5 points) You will read a short text about the city of Havana, Cuba. After the reading, choose the best or most logical answer. Question 12 (Writing – Mi Familia) (3 points) Write at least three complete sentences in Spanish describing your family members. Be sure to use at least 4 of the adjectives you have learned in the course. Question 13 (Writing – Una celebración) (3 points) Choose one kind (for example, a birthday party, a holiday party, or a picnic) and describe what everyone does to celebrate. Write three complete sentences and use at least 3 of the verbs in the list. The verbs should be in the present tense
. Verbs
(Conjugate at least 3): almorzar, jugar, servir, recordar, probar, preferir
Questions 14-17 (Comparisons) (2.0 points) Fill in the blank to complete a logical comparison of the people described. It would be best if you used the comparison of equality and inequality structures. Question 18 (Writing-Preguntas Personales) (1.5 points) Use your imagination to answer the questions
. Write your responses as complete sentences and pay attention to what each question is specifically asking. Hint
: Your answers should use the format given in the question. EX: ¿Cuándo vas a viajar
a Las Vegas? Voy a viajar
la próxima semana. Finally, do your Final Exam after completing all your Week Four assignments. Good luck to all of you!
Discover more documents: Sign up today!
Unlock a world of knowledge! Explore tailored content for a richer learning experience. Here's what you'll get:
- Access to all documents
- Unlimited textbook solutions
- 24/7 expert homework help
Related Questions
Introduction Some number of teams are participating in a race. You are not told how many teams are participating but you do know that: Each team has a name, which is one of the uppercase letters A-Z. No two teams have the same name, so there are a maximum number of 26 teams. Each team has the same number of members. No two runners cross the finish line at the same time – i.e. there are no ties. At the end of the race we can write the results as a string of characters indicating the order in which runners crossed the finish line. For example: ZZAZAA We can see there were two teams: A and Z. Team A’s runners finished in 3rd, 5th and 6th place. Team Z’s runners finished in 1st, 2nd and 4th place. Scoring the race Each runner is assigned a score equal to their finishing place. In the example above team Z’s runners achieved scores of 1, 2 and 4. Team A’s runners scores were 3, 5, and 6 respectively. The team’s score is the sum of the members score divided by the number of people on…
arrow_forward
Book (ISBN, Category, BTitle, Quantity,CID)
Sales (SalesNo, Month_Year, TotalSales, ISBN)
Shop (RegNo, Location, SalesNo)
Customer (CID, CName, TelNo, Age)
(ii)What was the title and category of the book that the customer Emekabought?
(iii)Who purchased the book in the Coding category,or the quantity is greater than two?
(iv)What isthe total sales and location of the shop with the registration number "REG KL 100" in the month ofApril 2021?
(v)Display the identification number, name, age together with the total salesof the customers who purchasedthe Computer Fundamentals title book.
arrow_forward
Explain every step please
arrow_forward
Hospital :ER Case Study
A General Hospital consists of a number of specialized wards (such
as Radiology, Oncology, etc).Information about ward includes unique
name, total numbers of current patients. Each ward hosts a number of
patients, who were admitted by a consultant (doctors) employed by the
Hospital. On admission, the date and time are kept. The personal
details of every patient includes name, Medical Recode Number
(MRN), set of phone and one address (city, street, code). A separate
register is to be held to store the information of the tests undertaken.
Each test has unique episode No., category and the final result of test.
Number of tests may be conducted for each patient. Doctors are
specialists in a specific ward and may be leading consultants for a
number of patients. Each patient is assigned to one leading consultant
but may be examined by other doctors, if required.
arrow_forward
Hospital :ER Case Study
A General Hospital consists of a number of specialized wards (such
as Radiology, Oncology, etc) .Information about ward includes unique
name, total numbers of current patients. Each ward hosts a number of
patients, who were admitted by a consultant (doctors) employed by the
Hospital. On admission, the date and time are kept. The personal
details of every patient includes name, Medical Recode Number
(MRN), set of phone and one address (city, street, code). A separate
register is to be held to store the information of the tests undertaken.
Each test has unique episode No. , category and the final result of test.
Number of tests may be conducted for each patient. Doctors are
specialists in a specific ward and may be leading consultants for a
number of patients. Each patient is assigned to one leading consultant
but may be examined by other doctors, if required.
u
arrow_forward
An ISBN (International Standard Book Number) is a 10 digit number that is used to identify a book. The first nine digits of the ISBN number are used to represent the Title, Publisher and Group of the book and the last digit is used for
checking whether ISBN is correct or not. To uniquely identify a book a 10-digit ISBN number is used. The rightmost digit is checksum digit. This digit is determined from the other 9 digits using condition that 10d, + 9dz + 8dg + + d4o
must be a multiple of 11 (where d, denotes the i" digit from the right). The checksum digit d; can be any value from 0 to 10: the ISBN convention is to use the value X to denote 10. Write a C program using pointers that receives a 10-
digit ISBN, and computes the checksum, and reports whether the ISBN number is correct or not.
Example: 007462542X = 10°0 + 9*0 + 8*7 + 74 + 6*6 + 5*2 + 4*5 + 3"4 + 2*2 + 110 = 176
Since 176 leaves no remainder when divided by 11, hence it is a valid ISBN.
Note: When the check digit turns out…
arrow_forward
Customer (CID, CName, Street, City, State, Gender)Agent (AgentID, GName, Position, Salary, Gender, BranchNo)Invoice(InvoiceNo, CID, AgentID, Product, Quantity, Total_amt)
List the name of agents, position and salary for all agents that begin with ‘Sales’ in their title position and with salary more than the average salary. Example of titles with ‘Sales’ are ‘Sales Executive’, ‘Sales Manager’, ‘Salesman’ and many other titles. Sort the list by name in alphabetical order
arrow_forward
Groups problem help required
arrow_forward
ASSIGNMENT BRIEF
Introduction
Roulette is a popular casino game named after the French word for 'little wheel'. In the game, players
may choose to place bets on single numbers or various groupings which will determine their payout.
To determine the winning number a ball is spun in the opposite direction of a spinning wheel. As the
ball loses momentum it comes to rest in one of the slots of the wheel.
Winnings are then paid to anyone who places a successful bet.
n 00
2.
1ST12
2ND12
3RD12
1T018 EVEN
ODD |19то36
Figure 1: Layout of a European roulette table
Numbers can be classified in several ways:
1. Red or Black
2. Odd or Even
3. High or Low - if a number is in the first half of the table it is considered low (1-18).
If a number is in the second half of the table, it is considered high (19-36).
4. Dozens - a number can be in the first dozen(1-12), second dozen (13-24) or third dozen (25-36)
5. Columns - A number may be in any of the three columns of the table
6. Zero - the number '0'…
arrow_forward
Programming Assignment III
In this assignment you are required to be researching some sorting algorithms available and
providing some basic description on each algorithm you find. Your grade will be relative based on
the number of algorithms you can come up with and their respective specifications. I would be
happy with 10 sorting algorithms with clear description and analysis. The following is the
specification you need to provide on each algorithm:
1. The name of the algorithm
2. A small paragraph describing the operation of the algorithm
3. The code of the sorting function in the language you prefer (Java, C++, C, Python, C#,).
4. A testing code to run the sorting function using random arrays of sizes: 1000, 10000, 100000,
and 1000000 elements. The code should calculate the execution runtime in nanoseconds for each
array size sorted.
5. The theoretical O-Notation runtime of the algorithm
After providing the above description on the algorithms you find, you are requested to summarize…
arrow_forward
Business Rule - "no pilot can fly more than 10 hours within any 24-hour period"
Draw a ERD diagram of the following Business Rule above.
arrow_forward
None
arrow_forward
Python elif if
arrow_forward
Question 1: break phrase
Problem statement
Breaking a string into two parts based on a delimiter has applications. For example, given an email address, breaking it based on the delimiter "@" gives you the two parts, the mail server's domain name and email username. Another example would be separating a phone number into the area code and the rest.
Given a phrase of string and a delimiter string (shorter than the phrase but may be longer than length 1), write a C++ function named break_string to break the phrase into two parts and return the parts as a C++ std::pair object (left part goes to the "first" and right part goes to the "second").
arrow_forward
Question 1: break phrase
Problem statement
Breaking a string into two parts based on a delimiter has applications. For example, given an email address, breaking it based on the delimiter "@" gives you the two parts, the mail server's domain name and email username. Another example would be separating a phone number into the area code and the rest.
Given a phrase of string and a delimiter string (shorter than the phrase but may be longer than length 1), write a C++ function named break_string to break the phrase into two parts and return the parts as a C++ std::pair object (left part goes to the "first" and right part goes to the "second").
Do the following
Write your algorithm as code comments. I recommend to follow UMPIRE technique
Implement your function
arrow_forward
Sentential Logic Translation (It is mandatory to use the Letters given in the following questions; do NOT choose other Letters):
Not both the Brothers Four and Drifters will perform, unless neither Elvis Presley nor Patsy Cline will sing. (S1: Elvis Presley will sing; S2: Patsy Cline will sing; P1: the Brothers Four will perform; P2: Drifters will perform)
The concert is in San Francisco (S) only if the concert is not in California (C), provided the weather is good (G).
If neither inflation (I) nor unemployment (U) continues at their current low rates, then there will be recession (R) if and only if stock prices (S) do not drop dramatically and either heating oil (H) or gasoline prices (G) continues to rise.
Any ONE (i.e., only ONE) of my three children [Peter, John, Mary] is telling the truth. (P, J, M)
arrow_forward
EXERCISE 1
Stock Transaction ProgramLast month Joe purchased some stock in Acme Software, Inc. Here are the details of the purchase:• The number of shares that Joe purchased was 1,000.• When Joe purchased the stock, he paid $32.87 per share.• Joe paid his stockbroker a commission that amounted to 2 percent of the amount he paid for the stock.Two weeks later Joe sold the stock. Here are the details of the sale:• The number of shares that Joe sold was 1,000.• He sold the stock for $33.92 per share.• He paid his stockbroker another commission that amounted to 2 percent of the amount he received for the stock.
By writing a pseudo code and flow charts, design a program that displays the following information:● Did Joe make money or lose money? Display the amount of profit or loss after Joe sold the stock and paid his broker (both times).
arrow_forward
EXERCISE 1
Stock Transaction ProgramLast month Joe purchased some stock in Acme Software, Inc. Here are the details of the purchase:• The number of shares that Joe purchased was 1,000.• When Joe purchased the stock, he paid $32.87 per share.• Joe paid his stockbroker a commission that amounted to 2 percent of the amount he paid for the stock.Two weeks later Joe sold the stock. Here are the details of the sale:• The number of shares that Joe sold was 1,000.• He sold the stock for $33.92 per share.• He paid his stockbroker another commission that amounted to 2 percent of the amount he received for the stock.
By writing a pseudo code and flow charts, design a program that displays the following information:● The amount of money Joe paid for the stock.● The amount of commission Joe paid his broker when he bought the stock.● The amount that Joe sold the stock for.● The amount of commission Joe paid his broker when he sold the stock.● Did Joe make money or lose money? Display the…
arrow_forward
EXERCISE 1
Stock Transaction ProgramLast month Joe purchased some stock in Acme Software, Inc. Here are the details of the purchase:• The number of shares that Joe purchased was 1,000.• When Joe purchased the stock, he paid $32.87 per share.• Joe paid his stockbroker a commission that amounted to 2 percent of the amount he paid for the stock.Two weeks later Joe sold the stock. Here are the details of the sale:• The number of shares that Joe sold was 1,000.• He sold the stock for $33.92 per share.• He paid his stockbroker another commission that amounted to 2 percent of the amount he received for the stock.
By writing a pseudo code and flow charts, design a program that displays the following information:● The amount of commission Joe paid his broker when he bought the stock.
arrow_forward
Modulo Rules
Use powers to solve this. Add comments on each line to help me understand.
The solution is provided.
Write the steps neatly please
arrow_forward
Vocabulary
Task (C language)
Solution given below. How to fix the error in the picture attached. txt file is not being created from this code
please also include how to create a txt file and where will it be saved in the computer
Natural language processing (NLP) is a field of artificial intelligence that seeks to develop the ability of a computer program to understand human language. Usually, the first step of an NLP system is to convert words into numeric codes. Thus, the system converts an input text into a sequence of numeric codes before any high-level analysis. This process is known as text preprocessing.
We can only perform text preprocessing if we have a vocabulary of words and their associated numeric codes. Your task is to create a vocabulary of unique words for a given text file and assign a different number from 1 to N to each unique word, with N being the total number of unique words. You must perform this assignment so that the first word in alphabetical order gets the…
arrow_forward
Q2/
A teacher decided to sign students' papers with letters according to their
degrees out of 100 if the degree >90 he gives “A", and if the degree >80
he gives “B", and if the degree <80 he gives pass .
design decision table for the above system.
arrow_forward
discrete structure
could you help me with these two questions
arrow_forward
eflection journal on :keyboard and keypads (500 words)
- Briefly describe the selected topic in your own words. (DESCRIPTION)
- Write few words how it is contributing toHuman computer interaction. (FEELINGS)
- Quick example (EVALUATION)
- Brief Summary of all above (CONCLUSION).
arrow_forward
SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Related Questions
- Introduction Some number of teams are participating in a race. You are not told how many teams are participating but you do know that: Each team has a name, which is one of the uppercase letters A-Z. No two teams have the same name, so there are a maximum number of 26 teams. Each team has the same number of members. No two runners cross the finish line at the same time – i.e. there are no ties. At the end of the race we can write the results as a string of characters indicating the order in which runners crossed the finish line. For example: ZZAZAA We can see there were two teams: A and Z. Team A’s runners finished in 3rd, 5th and 6th place. Team Z’s runners finished in 1st, 2nd and 4th place. Scoring the race Each runner is assigned a score equal to their finishing place. In the example above team Z’s runners achieved scores of 1, 2 and 4. Team A’s runners scores were 3, 5, and 6 respectively. The team’s score is the sum of the members score divided by the number of people on…arrow_forwardBook (ISBN, Category, BTitle, Quantity,CID) Sales (SalesNo, Month_Year, TotalSales, ISBN) Shop (RegNo, Location, SalesNo) Customer (CID, CName, TelNo, Age) (ii)What was the title and category of the book that the customer Emekabought? (iii)Who purchased the book in the Coding category,or the quantity is greater than two? (iv)What isthe total sales and location of the shop with the registration number "REG KL 100" in the month ofApril 2021? (v)Display the identification number, name, age together with the total salesof the customers who purchasedthe Computer Fundamentals title book.arrow_forwardExplain every step pleasearrow_forward
- Hospital :ER Case Study A General Hospital consists of a number of specialized wards (such as Radiology, Oncology, etc).Information about ward includes unique name, total numbers of current patients. Each ward hosts a number of patients, who were admitted by a consultant (doctors) employed by the Hospital. On admission, the date and time are kept. The personal details of every patient includes name, Medical Recode Number (MRN), set of phone and one address (city, street, code). A separate register is to be held to store the information of the tests undertaken. Each test has unique episode No., category and the final result of test. Number of tests may be conducted for each patient. Doctors are specialists in a specific ward and may be leading consultants for a number of patients. Each patient is assigned to one leading consultant but may be examined by other doctors, if required.arrow_forwardHospital :ER Case Study A General Hospital consists of a number of specialized wards (such as Radiology, Oncology, etc) .Information about ward includes unique name, total numbers of current patients. Each ward hosts a number of patients, who were admitted by a consultant (doctors) employed by the Hospital. On admission, the date and time are kept. The personal details of every patient includes name, Medical Recode Number (MRN), set of phone and one address (city, street, code). A separate register is to be held to store the information of the tests undertaken. Each test has unique episode No. , category and the final result of test. Number of tests may be conducted for each patient. Doctors are specialists in a specific ward and may be leading consultants for a number of patients. Each patient is assigned to one leading consultant but may be examined by other doctors, if required. uarrow_forwardAn ISBN (International Standard Book Number) is a 10 digit number that is used to identify a book. The first nine digits of the ISBN number are used to represent the Title, Publisher and Group of the book and the last digit is used for checking whether ISBN is correct or not. To uniquely identify a book a 10-digit ISBN number is used. The rightmost digit is checksum digit. This digit is determined from the other 9 digits using condition that 10d, + 9dz + 8dg + + d4o must be a multiple of 11 (where d, denotes the i" digit from the right). The checksum digit d; can be any value from 0 to 10: the ISBN convention is to use the value X to denote 10. Write a C program using pointers that receives a 10- digit ISBN, and computes the checksum, and reports whether the ISBN number is correct or not. Example: 007462542X = 10°0 + 9*0 + 8*7 + 74 + 6*6 + 5*2 + 4*5 + 3"4 + 2*2 + 110 = 176 Since 176 leaves no remainder when divided by 11, hence it is a valid ISBN. Note: When the check digit turns out…arrow_forward
- Customer (CID, CName, Street, City, State, Gender)Agent (AgentID, GName, Position, Salary, Gender, BranchNo)Invoice(InvoiceNo, CID, AgentID, Product, Quantity, Total_amt) List the name of agents, position and salary for all agents that begin with ‘Sales’ in their title position and with salary more than the average salary. Example of titles with ‘Sales’ are ‘Sales Executive’, ‘Sales Manager’, ‘Salesman’ and many other titles. Sort the list by name in alphabetical orderarrow_forwardGroups problem help requiredarrow_forwardASSIGNMENT BRIEF Introduction Roulette is a popular casino game named after the French word for 'little wheel'. In the game, players may choose to place bets on single numbers or various groupings which will determine their payout. To determine the winning number a ball is spun in the opposite direction of a spinning wheel. As the ball loses momentum it comes to rest in one of the slots of the wheel. Winnings are then paid to anyone who places a successful bet. n 00 2. 1ST12 2ND12 3RD12 1T018 EVEN ODD |19то36 Figure 1: Layout of a European roulette table Numbers can be classified in several ways: 1. Red or Black 2. Odd or Even 3. High or Low - if a number is in the first half of the table it is considered low (1-18). If a number is in the second half of the table, it is considered high (19-36). 4. Dozens - a number can be in the first dozen(1-12), second dozen (13-24) or third dozen (25-36) 5. Columns - A number may be in any of the three columns of the table 6. Zero - the number '0'…arrow_forward
- Programming Assignment III In this assignment you are required to be researching some sorting algorithms available and providing some basic description on each algorithm you find. Your grade will be relative based on the number of algorithms you can come up with and their respective specifications. I would be happy with 10 sorting algorithms with clear description and analysis. The following is the specification you need to provide on each algorithm: 1. The name of the algorithm 2. A small paragraph describing the operation of the algorithm 3. The code of the sorting function in the language you prefer (Java, C++, C, Python, C#,). 4. A testing code to run the sorting function using random arrays of sizes: 1000, 10000, 100000, and 1000000 elements. The code should calculate the execution runtime in nanoseconds for each array size sorted. 5. The theoretical O-Notation runtime of the algorithm After providing the above description on the algorithms you find, you are requested to summarize…arrow_forwardBusiness Rule - "no pilot can fly more than 10 hours within any 24-hour period" Draw a ERD diagram of the following Business Rule above.arrow_forwardNonearrow_forward
arrow_back_ios
SEE MORE QUESTIONS
arrow_forward_ios
Recommended textbooks for you
- C++ for Engineers and ScientistsComputer ScienceISBN:9781133187844Author:Bronson, Gary J.Publisher:Course Technology PtrC++ Programming: From Problem Analysis to Program...Computer ScienceISBN:9781337102087Author:D. S. MalikPublisher:Cengage LearningNp Ms Office 365/Excel 2016 I NtermedComputer ScienceISBN:9781337508841Author:CareyPublisher:Cengage
C++ for Engineers and Scientists
Computer Science
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Course Technology Ptr
C++ Programming: From Problem Analysis to Program...
Computer Science
ISBN:9781337102087
Author:D. S. Malik
Publisher:Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage