Write a program to calculate the Binomial coefficient using a funcion that calculates factonal of an integer

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

Write a program to calculate the Binomial coefficient using a funcion that calculates factonal of an integer. The program should issue the message, Value Error if the wrong inputs are entered.

12:42
Description
Process
Assessment
Plan
Time Log
Defect Log
Test Rpt
Process Script
- Problem description
- Defect standard type
Туре
Documentation
Syntax
Build, package
Defects resulting from problems with:
comments, message
spelling, punctuation, typos, improper programming language grammar
change management, library, version control
declaration, duplicate names, scope, limits
Entry
Assignment
Interface
module calls and references, user formats
Checking
error messages, inadequate bound/type/format checking
structure, content
logic, pointers, loops, recursion, computation, functional defects
configuration, timing, memory
programming tools
Data
Function
System
Environment
Determine initial expected results
1. Planning
Estimate and record "planned" statistics
Record time spent planning
- Code; fix and log all defects found; log time spent
- Compile; fix and log all defects found; log time spent
- Test; update expected results as necessary; fix and log all defects found; log time spent
n. Record actual results; attach source code
- Calculate and record "actual" process statistics
- tested program
- completed worksheet
Tasks
2. Development
3. Post Mortem
Exit
Quality checks
General
Are all regions highlighted in yellow appropriately complete?
Does the worksheet reflect a faithful record of information?
Has this assignment been uploaded to Blackboard as a single file with the appropriate file name?
Project Plan Summary
Was the planned time and size determined before development and not altered after development?
Were initial "expected results" calculated before coding began?
Is the actual size calculated according to your counting standard?
Time Recording Log
Does the log reflect a faithful record of time spent?
Do no times span midnight?
Does the log reflect the following process phases:plan, code, compile, test, post mortem? (All other phases are optional.)
Is post mortem the final phase?
Does the time recording log reflect the actual lifecycle used?
Defect Log
Is each defect accompanied by a description in the "comment" field?
Are defects recorded against the appropriate phase in which they were injected and removed?
Does the "removed" count equal the "injected" count?
Are the dates and times in the defect log consistent with the dates and times in the time recording log?
Test Report
Are the expected resutis correct?
Are actual results included in a readable format?
Do actual results support expected results?
Source Code
Is source code attached?
Does the code reflect your coding standard?
Will the code compile without change when copied from the spreadsheet? (Python: Jypter Notebook, Java: JDK 1.5; C: gnu C; C++ gnu C++.)
Does the code take into consideration error conditions?
Does the code fulfill the assignment requirements?
AA
-xythos.content.blackboardcdn.com C
Transcribed Image Text:12:42 Description Process Assessment Plan Time Log Defect Log Test Rpt Process Script - Problem description - Defect standard type Туре Documentation Syntax Build, package Defects resulting from problems with: comments, message spelling, punctuation, typos, improper programming language grammar change management, library, version control declaration, duplicate names, scope, limits Entry Assignment Interface module calls and references, user formats Checking error messages, inadequate bound/type/format checking structure, content logic, pointers, loops, recursion, computation, functional defects configuration, timing, memory programming tools Data Function System Environment Determine initial expected results 1. Planning Estimate and record "planned" statistics Record time spent planning - Code; fix and log all defects found; log time spent - Compile; fix and log all defects found; log time spent - Test; update expected results as necessary; fix and log all defects found; log time spent n. Record actual results; attach source code - Calculate and record "actual" process statistics - tested program - completed worksheet Tasks 2. Development 3. Post Mortem Exit Quality checks General Are all regions highlighted in yellow appropriately complete? Does the worksheet reflect a faithful record of information? Has this assignment been uploaded to Blackboard as a single file with the appropriate file name? Project Plan Summary Was the planned time and size determined before development and not altered after development? Were initial "expected results" calculated before coding began? Is the actual size calculated according to your counting standard? Time Recording Log Does the log reflect a faithful record of time spent? Do no times span midnight? Does the log reflect the following process phases:plan, code, compile, test, post mortem? (All other phases are optional.) Is post mortem the final phase? Does the time recording log reflect the actual lifecycle used? Defect Log Is each defect accompanied by a description in the "comment" field? Are defects recorded against the appropriate phase in which they were injected and removed? Does the "removed" count equal the "injected" count? Are the dates and times in the defect log consistent with the dates and times in the time recording log? Test Report Are the expected resutis correct? Are actual results included in a readable format? Do actual results support expected results? Source Code Is source code attached? Does the code reflect your coding standard? Will the code compile without change when copied from the spreadsheet? (Python: Jypter Notebook, Java: JDK 1.5; C: gnu C; C++ gnu C++.) Does the code take into consideration error conditions? Does the code fulfill the assignment requirements? AA -xythos.content.blackboardcdn.com C
12:42
Description
Process
Assessment
Plan
Time Log
Defect Log
Test
csC 280 -- Software Engineering I
Assignment:
Due date:
27-Aug-21 11:55pm
Name of this file to be uploaded: csc280LaboLastNameFirstName.xlsx, for example my file will looklike "CSC280LaboSwamiduraiRajendran.xlsx"
Objective: To gain experience using a rudimentary process model
Assignment: Write a program to calculate the Binomial coefficient using a funcion that calculates factorial of an integer. The
program should issue the message, "Value Error", if the wrong inputs are entered.
Notes on Requirements:- Below is a hypothetical test scenario for your program:
Application: Enter the values for n
User: 10
Application: Enter the values for r
User: 3
Application: The result is 120
Notes on Process:- Follow the process in the "Process" worksheet for this assignment.
- This lab assignment is be accomplished individually
- Ensure you follow the course coding and counting standards.
- In following the script for PSP, you need not use a pure waterfall lifecycle; you are welcome to use any development
lifecycle as long as you document in chronological order on your time recording log the phase activities you enacted
(together with the duration of each activity) to accomplish the homework. If you use a waterfall approach, your time
recording log would show plan-design-code-compile-test-postmortem activities. If you use a design-a-little/code-a-
little/test-a-little approach, your time recording
might show plan-design-code-compile-test-code-compile-test-etc.
- Be honest in your data. Your grade depends on how you follow the process, not on the speed of your work or the
number of defects found.
Deliverables: - Complete all cells highlighted in yellow. When submitting your assignment, please upload the entire spreadsheet to
your lab submission area on the course Blackboard page. The name you should give your uploaded file is given
Jabove.
Transcribed Image Text:12:42 Description Process Assessment Plan Time Log Defect Log Test csC 280 -- Software Engineering I Assignment: Due date: 27-Aug-21 11:55pm Name of this file to be uploaded: csc280LaboLastNameFirstName.xlsx, for example my file will looklike "CSC280LaboSwamiduraiRajendran.xlsx" Objective: To gain experience using a rudimentary process model Assignment: Write a program to calculate the Binomial coefficient using a funcion that calculates factorial of an integer. The program should issue the message, "Value Error", if the wrong inputs are entered. Notes on Requirements:- Below is a hypothetical test scenario for your program: Application: Enter the values for n User: 10 Application: Enter the values for r User: 3 Application: The result is 120 Notes on Process:- Follow the process in the "Process" worksheet for this assignment. - This lab assignment is be accomplished individually - Ensure you follow the course coding and counting standards. - In following the script for PSP, you need not use a pure waterfall lifecycle; you are welcome to use any development lifecycle as long as you document in chronological order on your time recording log the phase activities you enacted (together with the duration of each activity) to accomplish the homework. If you use a waterfall approach, your time recording log would show plan-design-code-compile-test-postmortem activities. If you use a design-a-little/code-a- little/test-a-little approach, your time recording might show plan-design-code-compile-test-code-compile-test-etc. - Be honest in your data. Your grade depends on how you follow the process, not on the speed of your work or the number of defects found. Deliverables: - Complete all cells highlighted in yellow. When submitting your assignment, please upload the entire spreadsheet to your lab submission area on the course Blackboard page. The name you should give your uploaded file is given Jabove.
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Constants and Variables
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education