What is the difference between a binary search tree and a balanced binary search tree, and why might you choose to use one over the other?

Computer Science

What is the difference between a binary search tree and a balanced binary search tree, and why might you choose to use one over the other?

What is the difference between a strongly-typed language and a dynamically-typed language, and what are some advantages and disadvantages of each?

Write a relational algebra query to find the names of all students in relation to the departments in which they are enrolled. Show the results of the natural join operation from the part (i) query in a table.

Assignment 1

Question One

  • a) What is natural join operation in relational algebra and why do we need it.
  • (b) From the below given tables:

Student

SID Name Grade Dept-ID
1 Abdullah 95 CS
2 Naif 94 IT
3 Rayan 92 DS
4 Suleman 93 DS

 

Enrolled Department

Dept-ID Department
CS Computer Science
IT

DS

Information Technology

Data Science

  • Write a relational algebra query to find the names of all students in relation to the departments in which they are enrolled.
  • Show the results of the natural join operation from the part (i) query in a table.

 

Question Two

What does the term “aggregate functions” refer to? What are the various aggregate operations used in relational operations?

2 Marks
Learning Outcome(s):

Recognize database file organization and indexing.

Question Three

Create B-tree of degree 3 for the following set of key values added in order. Show the steps after every insertion.

                         43, 24, 33, 60, 20, 22, 51, 32, 27

2 Marks
Learning Outcome(s):

Recognize database file organization and indexing.

 

Question Four

  1. What type of method for collision resolution is shown below? briefly explain it by your own words.
  2. define another type of method for collision resolution and provide example.

 

Of these service interactions, identify two that are static and discuss how you could make them dynamic. How does this change impact your back-end operations, and what insight will you generate from such a change in the interactions?

 MIS 455: Digital Entrepreneurship and Innovation

 Midterm Exam 2

Q1. ANALYSIS and DESIGN  9 points

YBR Case

YBR is a pre-school daycare center in a small city. It provides full daycare for children aged 2 through 5 and is licensed to have up to 30 children at any time. There has been a reduction in demand for full-time day care services as many parents are staying at home during the Covid-19 pandemic (e.g., reduced work hours by their employers or employees working from home).  The same daycare center is seeing opportunities to support many students who are aged between 6 and 10 who must stay at home while schools are partially closed, and parents want their children to get some face-to-face tutoring services in math, languages, and science subjects.

YBR can accommodate up to 30 students aged 6 through 10 if they can recruit the tutors needed and pay them by the hour to provide these services at the daycare facility. If new students are accepted for tutoring services, parents pay for the services monthly, and these services can be renewed or stopped depending on customer need and tutor availability.  Given the temporary nature of this type of service, YBR wants to use online operations to provide this service, except for the actual tutoring itself, which is done on its premises.

YBR decided to use the following service interactions with potential parents and tutors.

  • It will promote the new program to the current parents who enroll their children for their own older children.
  • It will ask some parent advocates to provide reviews of YBR’s services, so it can use them in their promotion to new parents.
  • It will share the information with school districts who teach older students, so that they can provide this information for the parents of these older students.
  • It will also ask the school districts to promote the program to their teachers, so they can consider tutoring some of the students at YBR or recommend good students who may be candidates for tutoring.
  • When parents access the online portal, they are provided the subjects the YBR is offering tutor services for, the time, and the number of places available.
  • YBR provides information on the security precautions it takes and that it expects the students to take when they come for tutoring service.
  • When tutors inquire about providing support, YBR provides information on the subjects they need, the time, and how many students they have to tutor.
  • The tutors are provided with the pay rate per hour and the minimum number of hours that they need to tutor.
  • YBR provides information on the security precautions it takes and that it expects the tutors to take when they come to provide the tutoring service.
  • Parents pay for the tutoring once every two weeks, and tutors are paid once every month.
  • A survey is sent to both parents and tutors regarding their experience and if they want YBR to use them as potential advocates for the service YBR provides.

 

  • Convert the service interactions into service modules. Identify specific operations you would perform and who you would partner with to support each of these modules.
  • Of these service interactions, identify two that are static and discuss how you could make them dynamic. How does this change impact your back-end operations, and what insight will you generate from such a change in the interactions?
  • What data aggregates or categories would you need to support each of these modules?
  • What technology interface would you suggest (as a part of the digital platform) to interact with your partners?

 

Q2. Evaluation   6 points

2.1       OO optical, a soft contact lens manufacturer and distributor, custom develops lenses based on customer needs, by considering their age and color preferences. It decided to provide a web portal or mobile app-based interface to seek information from the customers and prepare orders for contact lenses.

What two metrics would you use to track the customer’s journey, and what insight do they provide?                                                                                                                    2

 

2.2       SEU is an electrical energy producer that wants to work with its energy customers to plan their energy use with a mix of energy sources (solar, wind, electric, etc.) based on their location and projected demand at various times of the year.

To provide this service, it solicits information on customers, their energy needs, and their preference to use different energy sources (one or more). Based on this information, it interacts with different energy producers to get the cost of the energy they provided per month, so that SEU can share it with the customer. Based on this, customers can alter their mix to meet their demand and price constraints.

What two metrics would you suggest (or what analysis would you do based on the data gathered) so you can analyze the energy use of customers as a whole and help SEU develop its future strategy on mixing energy sources?                                               2

 

2.3       CNN bank introduced home banking services using a mobile app. It helps customers obtain information on their account, scan checks for deposit, and transfer funds 24 hours a day. It wanted to gather intelligence on customers who are using banking services besides their actual mobile app transactions.

What two metrics would you use (or what questions would you like to ask) to gather intelligence on customers and how would this help gain insight to improve your mobile app services?

Research a scholarly paper or professional video on “Business Processes, and Process Specifications” and reflect on only one (1) of the following topics.

Computer Science Question

1.Research a scholarly paper or professional video onBusiness Processes, and Process Specifications” and reflect on only one (1) of the following topics:

  • “Processes”: What type of Business Processes exist?
  • “Specifications”: How important is it to define the Process Specifications?
  • “Review”: How important is it to review the Processes on a regular basis?

2. Research a scholarly paper or professional video onUnified Modeling Language (UML)” and reflect on only one (1) of the following topics:

    • “Benefit”: What UML diagrams are most beneficial for organizations?
    • “Most”: What organizations use UML diagrams the most?
    • “Effort”: Is the effort to create a UML diagram worth their benefit to the organization?

Develop an activity diagram for one aspect of PHTRS. Visio has several templates you can use or create your own. Develop a swimlane diagram for one or more aspects of PHTRS. You can find a base template in Visio for this or create your own.

Use Cases & Essential Diagrams

Part 1: Use Cases (Chapter 7)

Textbook assignment (may be slightly altered from book):

7.5. Develop a complete use case for one of the following activities:

  • Making a withdrawal at an ATM
  • Using your charge card for a meal at a restaurant
  • Searching for books (on a specific topic) using an online bookstore

7.6. Write a user story for one of the activities listed in Problem 7.5.

7.7. Consider the use case you created in Problem 7.5 and write a nonfunctional requirement for the application.

 

Applying concepts: Use case diagram

7.1 Create a use case diagram for the use case you developed above. See Visio templates to help in creating your diagram.

Insert diagram as a jpeg below the responses to the textbook assignments.

 

Part 2: Diagrams (Chapter 8)

Textbook assignment (may be slightly altered from the book):

8.3. The department of public works for a large city has decided to develop a Web-based pothole tracking and repair system (PHTRS). A description follows:

Citizens can log onto a website and report the location and severity of potholes. As potholes are reported they are logged within a “public works department repair system” and are assigned an identifying number, stored by street address, size (on a scale of 1 to 10), location (middle, curb, etc.), district (determined from street address), and repair priority (determined from the size of the pothole). Work order data are associated with each pothole and include pothole location and size, repair crew identifying number, number of people on the crew, equipment assigned, hours applied to repair, hole status (work in progress, repaired, temporary repair, not repaired), amount of filler material used, and cost of repair (computed from hours applied, number of people, material and equipment used). Finally, a damage file is created to hold information about reported damage due to the pothole and includes the citizen’s name, address, phone number, type of damage, and dollar amount of damage. PHTRS is an online system; all queries are to be made interactively.

Draw a UML use case diagram PHTRS system. You’ll have to make a number of assumptions about the manner in which a user interacts with this system. Visio has templates to get you started.

8.4. Write two or three use cases that describe the roles of various actors in the PHTRS described in Problem 8.3.

8.5. Develop an activity diagram for one aspect of PHTRS. Visio has several templates you can use or create your own.

8.6. Develop a swimlane diagram for one or more aspects of PHTRS. You can find a base template in Visio for this or create your own.

8.7. Develop a class model for the PHTRS system presented in Problem 8.3. There are several templates in Visio for class models.

8.8. Develop a complete set of CRC model index cards on the product or system you chose as part of Problem 8.3. These can be created as tables in Word. Use the example in Figure 8.5 as a template for formatting.

Using machines, the main objective of Artificial Intelligence (AI) is to mimic how individuals think, learn, make decisions, and solve problems. State the levels of AI and which levels are equivalent to weak and strong Artificial Intelligence?

Computer science

Annual Report

FY [Year]

[Add a quote here from one of your company executives or use this space for a brief summary of the document content.]

 

Decision Support Systems

IT 445

 

Instructions:
·       You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on Blackboard via the allocated folder. These files must not be in compressed format.

·       It is your responsibility to check and make sure that you have uploaded both the correct files.

·       Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between words, hide characters, use different character sets, convert text into image or languages other than English or any kind of manipulation).

·       Email submission will not be accepted.

·       You are advised to make your work clear and well-presented. This includes filling your information on the cover page.

·       You must use this template, failing which will result in zero mark.

·       You MUST show all your work, and text must not be converted into an image, unless specified otherwise by the question.

·       Late submission will result in ZERO mark.

·       The work should be your own, copying from students or other resources will result in ZERO mark.

·       Use Times New Roman font for all your answers.

 

     
Name: ###

 

CRN: ###

  ID: ###

 

     

 

 

2 Marks

Learning Outcome(s):

Instructors: Understand the development of systems for providing decision-making support and understand the basic concepts of artificial intelligence (AI) and see selected applications

 

 

 

 

 

 

 

Question One

Using machines, the main objective of Artificial Intelligence (AI) is to mimic how individuals think, learn, make decisions, and solve problems. State the levels of AI and which levels are equivalent to weak and strong Artificial Intelligence?

 

2 Marks

Learning Outcome(s):

Instructors: Understand the development of systems for providing decision-making support and recognize the evolution of such computerized support to the current state of analytics/data science and artificial intelligence

 

 

 

 

 

Question Two

Decision Support System (DSS) is a methodology for supporting decision making and uses an adaptable computer-based information system (CBIS) which was developed for supporting the solution to a specific unstructured management problem. List the components of DSS and explain how interconnected, and implemented, for decision making (support your answer with some examples).

2 Marks
Learning Outcome(s): CLO1

Instructors: Demonstrate an understanding of the concepts of decision analysis and decision support systems (DSS) including probability, modelling, decisions under uncertainty, and real-world problems.

 

 

 

 

 

 

Question Three

What is Turing Test? How to pass it?

 

 

 

2 Marks
Learning Outcome(s): CLO1

Instructors: Demonstrate an understanding of the concepts of decision analysis and decision support systems (DSS) including probability, modelling, decisions under uncertainty, and real-world problems.

 

 

 

 

Question Four

Name two major AI technologies and provide an example/application for each one from your real-life.

 

Would benchmark datasets and task libraries help standardize evaluation? How useful can researchers make automated testing against requirements documents? How many users are needed to generate valid recommendations?

Researchers can contribute their experience with experimentation

INTRODUCTION

Researchers can contribute their experience with experimentation to develop improved techniques for interface evaluation and the user experience. Guidance in conducting pilot studies, acceptance tests, surveys, interviews, and discussions would benefit large-scale development groups, but additional attention needs to be given to smaller projects and incremental-type changes. Strategies are needed to cope with evaluation for the numerous specific populations of users and the diverse forms of disabilities that users may have. In this project 2, you are the Experts in helping design and constructing psychological tests which can help in preparing validated and reliable test instruments for subjective evaluation of the varying types of interfaces, from small mobile devices to very large displays, including specialized interfaces such as gaming. Such standardized tests would allow independent groups to compare the acceptability of interfaces.

SCOPE: You are working for an Independent company and you are tasked to design an evaluation instrument tool used to profile users’ skill levels with interfaces that would be helpful in job-placement and training programs.

STEP ONE (1) Use PowerPoint (MS Suite Products or suitable Tool) to design (draw) your HCI Interface, design an Evaluation Instrument Test Tool to validate an interface for a small mobile device or a very large display to include specialized interfaces such as gaming. Please show in your design how you would incorporate quality features e.g., usability, universality, and usefulness using an AI and/or Machine Learning approach.

OBJECTIVE: This project 2 should show how do you best incorporate and evaluate qualitative data and dimensions such as fun, pleasure, joy, affect, challenge, or realism.

STEP TWO: Answer each of the following question to include why as it relates to Evaluations and the Users Experience.

  • Would benchmark datasets and task libraries help standardize evaluation?
  • How useful can researchers make automated testing against requirements documents?
  • How many users are needed to generate valid recommendations?
  • How can we better explain the differences between users’ perceptions of a task and the objective measures?
  • How do we select the best measure for a task?
  • How can life-critical applications for experienced professionals be tested reliably?
  • Is there a single usability metric that can be used and compared across types of interfaces?
  • Can we combine performance data and subjective data and create a single meaningful result?
  • Is there a scorecard that can be used to aid in the interpretation of usability results?
  • Is there a theory to explain and understand the relationship between measures?

Write a 1-page written document explaining the project and were and why you used those components.

Computer Science Question

12 of the Bootstrap Components

§ Accordion § Alerts § Badge § Breadcrumb § Buttons § Card § Carousel § Collapse § Dropdowns § List group § Modal § Navbar § Navs & tabs § Offcanvas § Pagination § Popovers § Progress § Scrollspy § Spinners § Toasts § Tooltips

Write a 1-page written document explaining the project and were and why you used those components.

 

Research article that on how artificial intelligence, machine learning and block chain can change the financial accounting.

Artificial Intelligence & Block chain for financial accounting

Research article that on how artificial intelligence, machine learning and block chain can change the financial accounting. Need to have all contents for research paper like abstract, analysis , results, references, etc. it should have high quality atleast 10 figures and tables

What is the difference between hardware interrupts and software interrupts and give examples of situations where each is used. How would you justify the use of programmed, interrupt driven, or direct memory access in a variety of different I/O devices?

Computer input/output systems and analyze their speed and cost.

Q1: What is the difference between hardware interrupts and software interrupts and give examples of situations where each is used.

Q2: How would you justify the use of programmed, interrupt driven, or direct memory access in a variety of different I/O devices?

Q3: Explain the role as well as strengths and weaknesses of polling, interrupts, and DMA.

Q4: Compare and contrast serial, parallel and USB communications and provide real world examples of serial and parallel transmissions.