Understanding the Input Form and Basic FilesComputational Logic. The assignment on computational logic will have two pieces. Be sure you understand the discussion in class about the form the input is supposed to take, and the roles of the basic files. To solve this first part of the problem, you only need to understand mainO.py (the simplest version of the prover). This version can read and store the input clauses in clauses.txt and can prove an...
Task 1 — Find the Largest Memory Size FileA series of files have been sent to your program with different memory sizes. The sizes are all in whole numbers of Megabytes (MB) but the number of files are unknown. You have been asked to create a program that will find the file with the largest memory size. Your solution must incorporate good programming practice (indentation, white space, comments, naming conventions). Task 2 — Fi...
1. VehicleWrite Object Oriented Python code for the following: 1. Vehicle: a) Write a Python class to represent a Vehicle which includes make string, model string, 17 character VIN, vehicle type (small, medium, large), and 4 digit year. Vehicle object cannot exist without these values. There should be __str__ method to return formatted string with all values. b) Write test code to create an instance of Vehicle and print the values of the at...
Task 1: Setting up Your R Markdown PortfolioTask 1: Setting up Your R Markdown PortfolioAs above our overall goal is to make a reproducible “report” summarising the data in the Leibowitz and Judisch (1967) article. As we go along, remember to refer back to Week 02 Worksheet 01 and cheatsheets to help you. Let’s begin!1.Create a new R Markdown document.2.Give it a title, e.g. My Psychology Research Methods Portfolio3.Enter ...
Question 1: Writing a simple scriptQuestion 1: Writing a simple script Create a simple node.js script called q1_1.js that takes in two names on the on the command line and then prints a capitalized version of the names to the console and number of characters of in the name. As part of the assignment write a function called printOutput that prints the capitalized version of the name and the number of characters for a single name. Use your f...
Task 1: Simulate a game of Musical ChairsTask: 1. Implement Programming Project #11-Chapter 14 (Savitch), pp. 666/667. Implement the classes and member functions as stated in the problem. Place all classes into one file. Output should be user friendly. Name the program: PlayCardInheritXX.cpp, where XX are your initials. 2. In the childhood game of Musical Chairs, chairs are placed in a circle with one less chair than players. Children march t...
Backtracking versus Branch-and-Bound design approaches1) CompareDesigns: Write an essay on comparing and contrasting the Backtracking versus Branch-and-Bound design approaches, using your own words. Discuss how they compare to brute-force approach. In addition, discuss the differences and similarities (implementation and performance) between the solution for knapsack problem using Backtracking (Algorithm 5.7) versus Branch and Bound (Algorithm...
Question: This is an open-book assessment. This means you may consult your notes, textbooks, and other resources, including calculators, as you see fit. You must submit before the deadline. Allow some spare time for technical submission issues. This assessment is designed to take 2 hours to complete (maybe a little longer to account for typing speed). The deadline has been set to give you a longer window than necessary to allow you tim...
Reading: Textbook Chapters 4 and 5.4.2 on XML file operations, Chapter 9 and Appendix B on IoT and VIPLE.Practice Exercises and Preparation (No submission required) 1. Reading: Textbook Chapters 4 and 5.4.2 on XML file operations, Chapter 9 and Appendix B on IoT and VIPLE. 2. Practice exercises: Questions at the end of Chapters 9. Complete the multiple choice questions. The solution is available in the course web page. 3. Follow Lecture 2-8 t...
Creating the 3D Wooden Model with Additional Parts1. Create a program to display a 3D wooden model similar to the one shown in the notes. If working in C++/OpenGL, you can download the “simple model of a person” (Main.cpp, Main.h) from the Notes / Hierarchical Kinematic Modelling part of the online notes. The given model has a spherical head, a cylindrical neck, a cylindrical torso, a left leg made of two cylinders, and a left arm ma...
Mini-Exercise 1MINI-EXERCISE 1 Exercise A Write a while loop that repeatedly asks the user for a number until exactly 3 odd numbers have been given. QUESTION 1: You have a code that starts with the following lines – s = input("Give me a word: ") c = input("Give me a letter: ") Write a loop that checks if s contains any letter that occurs before c in the alphabet. Assume all letters in s and c are lowercase. Modify "contains" to be True or ...
Question: This is a group assignment with an individual element. Your group should have 4 members, and must be confirmed with the unit leader, Prof. Marcin Budka via e-mail by 21/02/2020. This assignment will require you to: Define a real-world Computer Vision problem your group will tackle. Make sure that the problem is novel in a sense that there are no existing opensource solutions to your problem or that your solution will be sufficientl...
Benefits of Advanced Java FeaturesWrite a paper that discusses an Advanced Java feature from the following list: 1.Multithreading 2.Generics 3.Collections Framework 4.JDBC 5.Networking 6.Concurrency 7.Stream API 8.Java FX 9.Java Persistence API 10.Java Servlets a. Discuss the issue that the feature addresses. b.Discuss what the benefits are to using the feature. c.Discuss how it is used: include one or more coding example(s). d.T...
Task: You are working as the software tester for a large school and need to test the exam calculator for students. Your school does not want students to use a physical calculator. The software development team has released a calculator application. You...
FeaturesA) Your program should develop functions and menu-driven to do the following: 1.Create a student information structure 2.Studfunc(): Read/ Modify (update) student information and marks 3.Markfunc(): Marks Entry of each student (course 01-04) 4.Calculate Total, and Per% 5.InsertSort(): Display student information in Sorted order by ID or Age (use Linear algorithm). 6.QuickSort(): Display student percentage in descending order (use Binary ...