Final Project: Verify a Sudoku Solution Due Fri Apr 29 (2400 hrs)? Wed May 4 (1200 hrs)? 1

Size: px
Start display at page:

Download "Final Project: Verify a Sudoku Solution Due Fri Apr 29 (2400 hrs)? Wed May 4 (1200 hrs)? 1"

Transcription

1 Final Project: Verify a Sudoku Solution Due Fri Apr 29 (2400 hrs)? Wed May 4 (1200 hrs)? 1 A. Why? A final project is a good way to have students combine topics from the entire semester, to see how they interact. B. Objectives At the end of this project, you should: Be able to write parts of a C++ program of moderate size (a few hundred lines of code). Be able to open files; read and traverse two-dimensional arrays; and use nested loops. Be able to break up pieces of large code into collections of smaller functions. C. Verify a Sudoku Puzzle Solution For your final project, you are to write a C++ program that reads a representation of a Sudoku board and determine whether or not it's a correct solution. Note: You're not going to play a game, just check a possible solution for correctness. The credit for the project covers not just functionality ("Does it work?") but also readability ("Are there comments to explain what it does?" and "Is it well-organized?") D. So What's Sudoku? A Sudoku puzzle is an extended Latin Square problem. In a Latin square, you fill an n n square with the digits 1 n so that no row or column contains the same value twice. Here's a 3 3 example: A Sudoku puzzle has a 3 3 grid of 3 3 boxes (so, 9 9 cells altogether). The object is to get each row, column, and 3 3 box to have exactly the digits 1 9 (without omitting or repeating digits). Here s an example, with the rows and columns labeled 1 9. (Stolen from puzzle 1730.) 1 Apr 29 is the last Friday before final exams; May 4 is the day of the final exam; let's discuss in class which date to make the project due. CS 105: Intro Computer Pgmg I - 1 of 5 - James Sasaki, 2011

2 In an actual Sudoku puzzle, most of the cells are empty and one's task is to fill in the missing values. There are a number of programs available that solve Sudoku puzzles, but that's not our project we're going to read a 9 9 grid of numbers and determine whether or not it's a correct solution. If it isn't, we'll print error messages pointing out where cells match when they shouldn't; at the end, we'll also print the total number of errors. E. Possible Sample Runs To illustrate how your program should work, here's a sample run of a possible solution. It asks for a file containing a puzzle, reads in and echos out the puzzle, and then checks it for correctness: Each row has to have 9 different values; each column has to have 9 different values, and each box has to have 9 different values. What follows are possible sample outputs. Your output should have the same content, though your wording doesn't have to be identical. In the sample below, the input file contains a correct puzzle solution. User input is underlined italic. CS 105: Intro Computer Pgmg I - 2 of 5 - James Sasaki, 2011

3 Enter name of file with solution to test: sdok.dat Reading file sdok.dat... The Sudoku puzzle: Checking rows... no errors Checking cols... no errors Checking boxes... no errors The puzzle solution is correct. Now here's a run with an incorrect solution. Enter name of file with solution to test: sdbad.dat Reading file sdbad.dat... The Sudoku puzzle: Checking rows... In row 1, cols 1 and 2 are both 1 In row 2, cols 2 and 4 are both 5 In row 3, cols 5 and 9 are both 6 In row 4, cols 6 and 9 are both 7 In row 9, cols 1 and 9 are both 9 Checking cols... In column 2, rows 1 and 9 are both 1 CS 105: Intro Computer Pgmg I - 3 of 5 - James Sasaki, 2011

4 In column 4, rows 2 and 4 are both 5 In column 5, rows 3 and 4 are both 6 In column 9, rows 1 and 9 are both 9 In column 9, rows 4 and 6 are both 7 Checking boxes... In box 1, row 1 col 1 and row 1 col 2 are both 1 In box 2, row 1 col 5 and row 2 col 4 are both 5 In box 2, row 1 col 6 and row 3 col 5 are both 6 In box 6, row 4 col 9 and row 6 col 9 are both 7 In box 9, row 7 col 7 and row 9 col 9 are both 9 Note: Boxes are numbered 1 9 from left to right, top to bottom. The puzzle solution is incorrect: It has 1. Here's a run with a nonexistent input file. Enter name of file with solution to test: nosuchfile.txt Couldn't open input file nosuchfile.txt. Halting execution. And here's a run where the file doesn't have enough data (it only had 3 values): Enter name of file with solution to test: shortfile.dat Reading file shortfile.dat... Couldn't read a value for row 1, col 4. Halting execution. F. Completing a Skeleton A full solution for this problem is fairly long, especially once you include enough comments to make the program more understandable. Since we don't have a lot of time for the project, instead of writing a full program, you're going to complete a skeleton program, sudoku_skeleton.cpp. A skeleton is the framework of a solution but has missing pieces. The missing pieces are usually "stubs." A stub is a subroutine that isn't completely written it's an approximation of what really needs to be done. For example, a stub that calculates a number might just return zero. Having a stub lets you write the routine that calls the stub separately from the stub. For example, the skeleton program uses a checkrows(grid) subroutine that checks each cell to make sure that there's no cell to its right that has the same value. It does this by calling checkrowcell(grid, row, col, value) for each row and column (with value being the number at the given row and column. But the checkrowcell routine, a stub, just prints out a message saying it was called. This lets us make sure that that the checkrows routine is making the correct calls to checkrowcell (i.e., exactly one call for each cell in the puzzle grid). G. Point Breakdown [100 pts total] [5 pts] Read the board (normal case) [5 pts] Check for non-existent input file CS 105: Intro Computer Pgmg I - 4 of 5 - James Sasaki, 2011

5 [5 pts] Check for input file that contains an error [5 pts] Print out the board (2 pts extra credit if you add an extra space between columns 3 and 4; columns 7 and 8; rows 3 and 4; rows 7 and 8). [6 pts] Check the rows (-2 points if you don't avoid duplicate error messages2). [12 pts] Check the columns (-2 points if you don't avoid duplicate error messages). [22 pts] Check the boxes (-5 points if you don't avoid duplicate error messages). [10 pts] Output (including error messages) is complete and readable. [10 pts] Each function you add has a block comment saying what it does. [10 pts] The comments are accurate (if it says a function or piece of code does something, then your code actually does it). [5 pts] The comments should mention everything important that a routine does [5 pts] The code you add/modify is well-organized. (You don't have huge routines with 17 levels of nesting, but you also don't have a zillion subroutines that are each only one line long. H. Submitting Your Program Submit your program using the Assignments folder under Blackboard for the course. (To get to blackboard, log into the myiit portal site.) Document History 4/19/11: Ver. 1.1: Changed to Times font because of printing bug. In red: Added info on box numbering; fixed two typos. CS 105: Intro Computer Pgmg I - 5 of 5 - James Sasaki, 2011

CMSC 201 Fall 2018 Project 3 Sudoku

CMSC 201 Fall 2018 Project 3 Sudoku CMSC 201 Fall 2018 Project 3 Sudoku Assignment: Project 3 Sudoku Due Date: Design Document: Tuesday, December 4th, 2018 by 8:59:59 PM Project: Tuesday, December 11th, 2018 by 8:59:59 PM Value: 80 points

More information

UN DOS TREZ Sudoku Competition. Puzzle Booklet for Preliminary Round. 19-Feb :45PM 75 minutes

UN DOS TREZ Sudoku Competition. Puzzle Booklet for Preliminary Round. 19-Feb :45PM 75 minutes Name: College: Email id: Contact: UN DOS TREZ Sudoku Competition Puzzle Booklet for Preliminary Round 19-Feb-2010 4:45PM 75 minutes In Association With www.logicmastersindia.com Rules of Sudoku A typical

More information

DOWNLOAD OR READ : SUDOKU LARGE PRINT PUZZLE BOOK FOR ADULTS 200 MEDIUM PUZZLES PUZZLE BOOKS PLUS PDF EBOOK EPUB MOBI

DOWNLOAD OR READ : SUDOKU LARGE PRINT PUZZLE BOOK FOR ADULTS 200 MEDIUM PUZZLES PUZZLE BOOKS PLUS PDF EBOOK EPUB MOBI DOWNLOAD OR READ : SUDOKU LARGE PRINT PUZZLE BOOK FOR ADULTS 200 MEDIUM PUZZLES PUZZLE BOOKS PLUS PDF EBOOK EPUB MOBI Page 1 Page 2 sudoku large print puzzle book for adults 200 medium puzzles puzzle books

More information

INTRODUCTION TO COMPUTER SCIENCE I PROJECT 6 Sudoku! Revision 2 [2010-May-04] 1

INTRODUCTION TO COMPUTER SCIENCE I PROJECT 6 Sudoku! Revision 2 [2010-May-04] 1 INTRODUCTION TO COMPUTER SCIENCE I PROJECT 6 Sudoku! Revision 2 [2010-May-04] 1 1 The game of Sudoku Sudoku is a game that is currently quite popular and giving crossword puzzles a run for their money

More information

Using KenKen to Build Reasoning Skills 1

Using KenKen to Build Reasoning Skills 1 1 INTRODUCTION Using KenKen to Build Reasoning Skills 1 Harold Reiter Department of Mathematics, University of North Carolina Charlotte, Charlotte, NC 28223, USA hbreiter@email.uncc.edu John Thornton Charlotte,

More information

CSCE 2004 S19 Assignment 5. Halfway checkin: April 6, 2019, 11:59pm. Final version: Apr. 12, 2019, 11:59pm

CSCE 2004 S19 Assignment 5. Halfway checkin: April 6, 2019, 11:59pm. Final version: Apr. 12, 2019, 11:59pm CSCE 2004 Programming Foundations 1 Spring 2019 University of Arkansas, Fayetteville Objective CSCE 2004 S19 Assignment 5 Halfway checkin: April 6, 2019, 11:59pm Final version: Apr. 12, 2019, 11:59pm This

More information

WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPF SUDOKU GP 2014 COMPETITION BOOKLET ROUND 4. Puzzle authors: Russia Andrey Bogdanov, Olga Leontieva.

WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPF SUDOKU GP 2014 COMPETITION BOOKLET ROUND 4. Puzzle authors: Russia Andrey Bogdanov, Olga Leontieva. WPF SUDOKU/PUZZLE GRAND PRIX 204 WPF SUDOKU GP 204 COMPETITION BOOKLET Puzzle authors: Russia Andrey Bogdanov, Olga Leontieva Organised by Classic Sudoku ( points) Answer Key: Enter the st row of digits,

More information

GET OVERLAPPED! Author: Huang Yi. Forum thread:

GET OVERLAPPED! Author: Huang Yi. Forum thread: GET OVERLAPPED! Author: Huang Yi Test page: http://logicmastersindia.com/2019/02s/ Forum thread: http://logicmastersindia.com/forum/forums/thread-view.asp?tid=2690 About this Test: This test presents a

More information

Environmental Stochasticity: Roc Flu Macro

Environmental Stochasticity: Roc Flu Macro POPULATION MODELS Environmental Stochasticity: Roc Flu Macro Terri Donovan recorded: January, 2010 All right - let's take a look at how you would use a spreadsheet to go ahead and do many, many, many simulations

More information

Assignment 6 Play A Game: Minesweeper or Battleship!!! Due: Sunday, December 3rd, :59pm

Assignment 6 Play A Game: Minesweeper or Battleship!!! Due: Sunday, December 3rd, :59pm Assignment 6 Play A Game: Minesweeper or Battleship!!! Due: Sunday, December 3rd, 2017 11:59pm This will be our last assignment in the class, boohoo Grading: For this assignment, you will be graded traditionally,

More information

Investigation of Algorithmic Solutions of Sudoku Puzzles

Investigation of Algorithmic Solutions of Sudoku Puzzles Investigation of Algorithmic Solutions of Sudoku Puzzles Investigation of Algorithmic Solutions of Sudoku Puzzles The game of Sudoku as we know it was first developed in the 1979 by a freelance puzzle

More information

ENGR170 Assignment Problem Solving with Recursion Dr Michael M. Marefat

ENGR170 Assignment Problem Solving with Recursion Dr Michael M. Marefat ENGR170 Assignment Problem Solving with Recursion Dr Michael M. Marefat Overview The goal of this assignment is to find solutions for the 8-queen puzzle/problem. The goal is to place on a 8x8 chess board

More information

WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPFSUDOKU GP 2014 COMPETITIONBOOKLET ROUND6. Puzzle authors: Bulgaria Deyan Razsadov.

WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPFSUDOKU GP 2014 COMPETITIONBOOKLET ROUND6. Puzzle authors: Bulgaria Deyan Razsadov. WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPFSUDOKU GP 2014 COMPETITIONBOOKLET ROUND Puzzle authors: Bulgaria Deyan Razsadov Organised by 1 Classic Sudoku (18 points) Place a digit from 1 to in each Answer Key:

More information

MODULE: DESIGNING AND DEVELOPING OBJECT-ORIENTED COMPUTER PROGRAMS ASSIGNMENT TITLE: WORDSEARCH MARCH 2014

MODULE: DESIGNING AND DEVELOPING OBJECT-ORIENTED COMPUTER PROGRAMS ASSIGNMENT TITLE: WORDSEARCH MARCH 2014 MDU: DSGG D DVPG BJCT-TD CMPUT PGMS SSGMT TT: WDSC MC 2014 mportant otes: Please refer to the ssignment Presentation equirements for advice on how to set out your assignment. These can be found on the

More information

1. Use Pattern Blocks. Make the next 2 figures in each increasing pattern. a) 2. Write the pattern rule for each pattern in question 1.

1. Use Pattern Blocks. Make the next 2 figures in each increasing pattern. a) 2. Write the pattern rule for each pattern in question 1. s Master 1.22 Name Date Extra Practice 1 Lesson 1: Exploring Increasing Patterns 1. Use Pattern Blocks. Make the next 2 figures in each increasing pattern. a) 2. Write the pattern rule for each pattern

More information

Sudoku Solver Version: 2.5 Due Date: April 5 th 2013

Sudoku Solver Version: 2.5 Due Date: April 5 th 2013 Sudoku Solver Version: 2.5 Due Date: April 5 th 2013 Summary: For this assignment you will be writing a program to solve Sudoku puzzles. You are provided with a makefile, the.h files, and cell.cpp, and

More information

1 Introduction. 2 An Easy Start. KenKen. Charlotte Teachers Institute, 2015

1 Introduction. 2 An Easy Start. KenKen. Charlotte Teachers Institute, 2015 1 Introduction R is a puzzle whose solution requires a combination of logic and simple arithmetic and combinatorial skills 1 The puzzles range in difficulty from very simple to incredibly difficult Students

More information

Sudoku Online Qualifiers2017

Sudoku Online Qualifiers2017 Bangladesh Sudoku Online Qualifiers2017 25 th 26 th September 2017 Instruction Booklet 500 points 90 Minutes Logic Masters India About this Contest This is a preliminary contest leading to an offline final.

More information

CMPT 310 Assignment 1

CMPT 310 Assignment 1 CMPT 310 Assignment 1 October 16, 2017 100 points total, worth 10% of the course grade. Turn in on CourSys. Submit a compressed directory (.zip or.tar.gz) with your solutions. Code should be submitted

More information

Programming Project 2

Programming Project 2 Programming Project 2 Design Due: 30 April, in class Program Due: 9 May, 4pm (late days cannot be used on either part) Handout 13 CSCI 134: Spring, 2008 23 April Space Invaders Space Invaders has a long

More information

1st UKPA Sudoku Championship

1st UKPA Sudoku Championship st UKPA Sudoku Championship COMPETITION PUZZLES Saturday 6th Sunday 7th November 00 Championship Duration: hours. Puzzles designed by Tom Collyer # - Classic Sudoku ( 4) 0pts #8 - No Touch Sudoku 5pts

More information

Due Friday, February 27 at 3:15PM

Due Friday, February 27 at 3:15PM CS106A Handout 20 Winter 2015 February 18, 2015 Assignment 6: Array Algorithms Arrays are a fundamental and versatile tool for representing data of all shapes and sizes In this assignment, you'll see how

More information

QUICKSTART COURSE - MODULE 7 PART 3

QUICKSTART COURSE - MODULE 7 PART 3 QUICKSTART COURSE - MODULE 7 PART 3 copyright 2011 by Eric Bobrow, all rights reserved For more information about the QuickStart Course, visit http://www.acbestpractices.com/quickstart Hello, this is Eric

More information

Episode 3 8 th 12 th February Substitution and Odd Even Variations By Kishore Kumar and Ashish Kumar

Episode 3 8 th 12 th February Substitution and Odd Even Variations By Kishore Kumar and Ashish Kumar Episode 3 8 th 12 th February 2019 Substitution and Odd Even Variations By Kishore Kumar and Ashish Kumar Sudoku Mahabharat rounds will also serve as qualifiers for Indian Sudoku Championship for year

More information

Episode 4 30 th March 2 nd April 2018 Odd Even & Substitution Variations By R Kumaresan and Amit Sowani

Episode 4 30 th March 2 nd April 2018 Odd Even & Substitution Variations By R Kumaresan and Amit Sowani Episode 4 30 th March 2 nd April 2018 Variations By R Kumaresan and Amit Sowani Sudoku Mahabharat rounds will also serve as qualifiers for Indian Sudoku Championship for year 2018. Please check http://logicmastersindia.com/sm/2018sm.asp

More information

Logic Masters India Presents. April 14 16, 2012 April 2012 Monthly Sudoku Test INSTRUCTION BOOKLET

Logic Masters India Presents. April 14 16, 2012 April 2012 Monthly Sudoku Test INSTRUCTION BOOKLET Logic Masters India Presents April 14 16, 2012 April 2012 Monthly Sudoku Test INSTRUCTION BOOKLET Thanks to Tawan Sunathvanichkul (ta mz29) for test solving the puzzles and David Millar for designing the

More information

SudokuSplashZone. Overview 3

SudokuSplashZone. Overview 3 Overview 3 Introduction 4 Sudoku Game 4 Game grid 4 Cell 5 Row 5 Column 5 Block 5 Rules of Sudoku 5 Entering Values in Cell 5 Solver mode 6 Drag and Drop values in Solver mode 6 Button Inputs 7 Check the

More information

Spring 06 Assignment 2: Constraint Satisfaction Problems

Spring 06 Assignment 2: Constraint Satisfaction Problems 15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment

More information

This chapter gives you everything you

This chapter gives you everything you Chapter 1 One, Two, Let s Sudoku In This Chapter Tackling the basic sudoku rules Solving squares Figuring out your options This chapter gives you everything you need to know to solve the three different

More information

Standard Sudoku point. 1 point. P a g e 1

Standard Sudoku point. 1 point. P a g e 1 P a g e 1 Standard 1-2 Place a digit from 1 to 6 in each empty cell so that each digit appears exactly once in each row, column and 2X box. 1 point A 6 2 6 2 1 5 1 point B 5 2 2 4 1 1 6 5 P a g e 2 Standard

More information

Lab 7: 3D Tic-Tac-Toe

Lab 7: 3D Tic-Tac-Toe Lab 7: 3D Tic-Tac-Toe Overview: Khan Academy has a great video that shows how to create a memory game. This is followed by getting you started in creating a tic-tac-toe game. Both games use a 2D grid or

More information

Take Control of Sudoku

Take Control of Sudoku Take Control of Sudoku Simon Sunatori, P.Eng./ing., M.Eng. (Engineering Physics), F.N.A., SM IEEE, LM WFS MagneScribe : A 3-in-1 Auto-Retractable Pen

More information

LMI Monthly Puzzle Test. 9 th /10 th July minutes

LMI Monthly Puzzle Test. 9 th /10 th July minutes NIKOLI SELECTION P U Z Z L E O O K L E T LMI Monthly Puzzle Test 9 th /10 th July 2011 90 minutes Y T O M detuned C O L L Y E R Solvers are once again reminded that it is highly recommended that you do

More information

CMPT 310 Assignment 1

CMPT 310 Assignment 1 CMPT 310 Assignment 1 October 4, 2017 100 points total, worth 10% of the course grade. Turn in on CourSys. Submit a compressed directory (.zip or.tar.gz) with your solutions. Code should be submitted as

More information

Selected Game Examples

Selected Game Examples Games in the Classroom ~Examples~ Genevieve Orr Willamette University Salem, Oregon gorr@willamette.edu Sciences in Colleges Northwestern Region Selected Game Examples Craps - dice War - cards Mancala

More information

FEATURES 24 PUZZLES, ASSORTED MIX, MOSTLY THEMED ON 24 HPC. HINTS FOR EACH PUZZLE. SOLUTIONS FOR EACH PUZZLE.

FEATURES 24 PUZZLES, ASSORTED MIX, MOSTLY THEMED ON 24 HPC. HINTS FOR EACH PUZZLE. SOLUTIONS FOR EACH PUZZLE. FEATURES 4 PUZZLES, ASSORTED MIX, MOSTLY THEMED ON 4 HPC. HINTS FOR EACH PUZZLE. SOLUTIONS FOR EACH PUZZLE. Nanro 80 Points Turning Fences 95 Points Toroidal Skyscrapers 85 Points (50 + 5) Tents 0 Points

More information

Computer Science 25: Introduction to C Programming

Computer Science 25: Introduction to C Programming California State University, Sacramento College of Engineering and Computer Science Computer Science 25: Introduction to C Programming Fall 2018 Project Dungeon Battle Overview Time to make a game a game

More information

CS103 Handout 25 Spring 2017 May 5, 2017 Problem Set 5

CS103 Handout 25 Spring 2017 May 5, 2017 Problem Set 5 CS103 Handout 25 Spring 2017 May 5, 2017 Problem Set 5 This problem set the last one purely on discrete mathematics is designed as a cumulative review of the topics we ve covered so far and a proving ground

More information

LMI Sudoku test Shapes and Sizes 7/8 January 2012

LMI Sudoku test Shapes and Sizes 7/8 January 2012 LMI Sudoku test Shapes and Sizes 7/8 January 2012 About Shapes and Sizes Chaos sudokus (or Number Place by its original name) have always been among my favourite puzzles. When I came across such a puzzle

More information

Multiplication and Division MODELS

Multiplication and Division MODELS Multiplication and Divion MODELS Multiplication groups and arrays When we put objects into rows and columns like th we call it an array. Arrays can make it easier to work out how many objects there are

More information

Spring 06 Assignment 2: Constraint Satisfaction Problems

Spring 06 Assignment 2: Constraint Satisfaction Problems 15-381 Spring 06 Assignment 2: Constraint Satisfaction Problems Questions to Vaibhav Mehta(vaibhav@cs.cmu.edu) Out: 2/07/06 Due: 2/21/06 Name: Andrew ID: Please turn in your answers on this assignment

More information

CPSC 217 Assignment 3 Due Date: Friday March 30, 2018 at 11:59pm

CPSC 217 Assignment 3 Due Date: Friday March 30, 2018 at 11:59pm CPSC 217 Assignment 3 Due Date: Friday March 30, 2018 at 11:59pm Weight: 8% Individual Work: All assignments in this course are to be completed individually. Students are advised to read the guidelines

More information

PA3 Part 2: BLM List. Workbook 3 - Patterns & Algebra, Part 2 1 BLACKLINE MASTERS

PA3 Part 2: BLM List. Workbook 3 - Patterns & Algebra, Part 2 1 BLACKLINE MASTERS PA Part : BLM List Calendars Colouring Exercise Hanji Puzzles Hundreds Charts 8 Mini Sudoku 9 Sudoku The Real Thing Sudoku Warm Up Venn Diagram BLACKLINE MASTERS Workbook - Patterns & Algebra, Part Calendars

More information

Latin Squares for Elementary and Middle Grades

Latin Squares for Elementary and Middle Grades Latin Squares for Elementary and Middle Grades Yul Inn Fun Math Club email: Yul.Inn@FunMathClub.com web: www.funmathclub.com Abstract: A Latin square is a simple combinatorial object that arises in many

More information

SUDOKU Mahabharat. Episode 7 21 st 23 rd March. Converse by Swaroop Guggilam

SUDOKU Mahabharat. Episode 7 21 st 23 rd March. Converse by Swaroop Guggilam Episode 7 21 st 23 rd March by Swaroop Guggilam Important Links Submission Page : http://logicmastersindia.com/sm/201503/ Discussion Thread : http://logicmastersindia.com/t/?tid=936 bout Sudoku Mahabharat

More information

Logic Masters India Presents

Logic Masters India Presents Logic Masters India Presents February 12 13, 2011 February 2011 Monthly Sudoku Test INSTRUCTION BOOKLET Submission: http://logicmastersindia.com/m201102s/ This contest deals with Sudoku variants. Each

More information

IN THIS ISSUE

IN THIS ISSUE 7 IN THIS ISSUE 1. 2. 3. 4. 5. 6. 7. 8. Hula-hoop Sudoku Matchmaker Sudoku 10 Mediator Sudoku Slitherlink Sudoku Numberlink Sudoku Marked Sudoku Multiplication Sudoku Top Heavy Sudoku Fortress Sudoku Meta

More information

This assignment is worth 75 points and is due on the crashwhite.polytechnic.org server at 23:59:59 on the date given in class.

This assignment is worth 75 points and is due on the crashwhite.polytechnic.org server at 23:59:59 on the date given in class. Computer Science Programming Project Game of Life ASSIGNMENT OVERVIEW In this assignment you ll be creating a program called game_of_life.py, which will allow the user to run a text-based or graphics-based

More information

Episode 6 9 th 11 th January 90 minutes. Twisted Classics by Rajesh Kumar

Episode 6 9 th 11 th January 90 minutes. Twisted Classics by Rajesh Kumar Episode 6 9 th 11 th January 90 minutes by Rajesh Kumar Mahabharat rounds will also serve as qualifiers for Indian Championship for year 2016. Please check http://logicmastersindia.com/sm/2015-16.asp for

More information

Physical Zero-Knowledge Proof: From Sudoku to Nonogram

Physical Zero-Knowledge Proof: From Sudoku to Nonogram Physical Zero-Knowledge Proof: From Sudoku to Nonogram Wing-Kai Hon (a joint work with YF Chien) 2008/12/30 Lab of Algorithm and Data Structure Design (LOADS) 1 Outline Zero-Knowledge Proof (ZKP) 1. Cave

More information

Episode 5 12 th 14 th December. Outside Variations by Rishi Puri

Episode 5 12 th 14 th December. Outside Variations by Rishi Puri Episode 12 th 1 th December by Rishi Puri Mahabharat rounds will also serve as qualifiers for Indian Championship for year 2016. Please check http://logicmastersindia.com/sm/201-16.asp for details. Important

More information

WPF SUDOKU GP 2014 ROUND 2 WPF SUDOKU/PUZZLE GRAND PRIX Puzzle authors: Serbia. Organised by

WPF SUDOKU GP 2014 ROUND 2 WPF SUDOKU/PUZZLE GRAND PRIX Puzzle authors: Serbia. Organised by WPF SUDOKU/PUZZLE GRAND PRIX 2014 WPF SUDOKU GP 2014 Puzzle authors: Serbia Classic sudoku by Nikola Živanović Sudoku variations by Zoran Tanasić and Čedomir Milanović Organised by 1 Classic Sudoku (6

More information

Preview Puzzle Instructions U.S. Sudoku Team Qualifying Test September 6, 2015

Preview Puzzle Instructions U.S. Sudoku Team Qualifying Test September 6, 2015 Preview Puzzle Instructions U.S. Sudoku Team Qualifying Test September 6, 2015 The US Qualifying test will start on Sunday September 6, at 1pm EDT (10am PDT) and last for 2 ½ hours. Here are the instructions

More information

If a word starts with a vowel, add yay on to the end of the word, e.g. engineering becomes engineeringyay

If a word starts with a vowel, add yay on to the end of the word, e.g. engineering becomes engineeringyay ENGR 102-213 - Socolofsky Engineering Lab I - Computation Lab Assignment #07b Working with Array-Like Data Date : due 10/15/2018 at 12:40 p.m. Return your solution (one per group) as outlined in the activities

More information

Formulas: Index, Match, and Indirect

Formulas: Index, Match, and Indirect Formulas: Index, Match, and Indirect Hello and welcome to our next lesson in this module on formulas, lookup functions, and calculations, and this time around we're going to be extending what we talked

More information

Monthly Sudoku Contest for September th 17 th September Enthralling Sudoku By Ashish Kumar

Monthly Sudoku Contest for September th 17 th September Enthralling Sudoku By Ashish Kumar Monthly Contest for September 2018 14 th 17 th September Enthralling By Ashish Kumar Important Links Submission Page : http://logicmastersindia.com/2018/09s2 Discussion Thread : http://logicmastersindia.com/t/?tid=2146

More information

Activity Graphics: Image Processing

Activity Graphics: Image Processing Computer Science Activity Graphics: Image Processing ASSIGNMENT OVERVIEW In this assignment you ll be writing a series of small programs that take a digital image, examine the pixels that make up that

More information

Welcome to the Sudoku and Kakuro Help File.

Welcome to the Sudoku and Kakuro Help File. HELP FILE Welcome to the Sudoku and Kakuro Help File. This help file contains information on how to play each of these challenging games, as well as simple strategies that will have you solving the harder

More information

BOOSTING AFFILIATE PROFITS

BOOSTING AFFILIATE PROFITS BOOSTING AFFILIATE PROFITS HOW TO MAKE MORE MONEY Jonathan Leger COURTESY OF LEARNFROMJON.COM - PRIVATE BUSINESS COACHING FROM A MULTI-MILLION DOLLAR INTERNET MARKETER + ACCESS TO PREMIUM AND EXCLUSIVE

More information

SUDOKU Mahabharat. Episode 3 15 th 17 th November. Odd Even Variations by Deb Mohanty

SUDOKU Mahabharat. Episode 3 15 th 17 th November. Odd Even Variations by Deb Mohanty Episode 3 15 th 17 th November by Deb Mohanty Important Links Submission Page : http://logicmastersindia.com/sm/01411 Discussion Thread : http://logicmastersindia.com/t/?tid=891 bout Sudoku Mahabharat

More information

Diagonal Vision LMI March Sudoku Test

Diagonal Vision LMI March Sudoku Test Diagonal Vision LMI March Sudoku Test 0 th - th March 0 by Frédéric Stalder http://sudokuvariante.blogspot.com/ Instructions booklet About the test From a very simple theme: diagonals, the idea was to

More information

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI

DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI DHANALAKSHMI COLLEGE OF ENGINEERING, CHENNAI Department of Computer Science and Engineering CS6503 THEORY OF COMPUTATION 2 Mark Questions & Answers Year / Semester: III / V Regulation: 2013 Academic year:

More information

Checkpoint Questions Due Monday, October 7 at 2:15 PM Remaining Questions Due Friday, October 11 at 2:15 PM

Checkpoint Questions Due Monday, October 7 at 2:15 PM Remaining Questions Due Friday, October 11 at 2:15 PM CS13 Handout 8 Fall 13 October 4, 13 Problem Set This second problem set is all about induction and the sheer breadth of applications it entails. By the time you're done with this problem set, you will

More information

Dividing Ranks into Regiments using Latin Squares

Dividing Ranks into Regiments using Latin Squares Dividing Ranks into Regiments using Latin Squares James Hammer Department of Mathematics and Statistics Auburn University August 2, 2013 1 / 22 1 Introduction Fun Problem Definition Theory Rewording the

More information

Solving Who Am I? Puzzles. Building Who Am I? Puzzles. t u Who Am I? The product of my digits is 16. The sum of my digits is 8. Who Am I?

Solving Who Am I? Puzzles. Building Who Am I? Puzzles. t u Who Am I? The product of my digits is 16. The sum of my digits is 8. Who Am I? Solving Puzzles The product of my digits is 7. The sum of my digits is 8. My units digit is greater than my tens digit. I am even. My tens digit is. h t u The product of my three digits is 2. h is four

More information

Microsoft Excel Lab Three (Completed 03/02/18) Transcript by Rev.com. Page 1 of 5

Microsoft Excel Lab Three (Completed 03/02/18) Transcript by Rev.com. Page 1 of 5 Speaker 1: Hello everyone and welcome back to Microsoft Excel 2003. In today's lecture, we will cover Excel Lab Three. To get started with this lab, you will need two files. The first file is "Excel Lab

More information

Introduction to Computers and Engineering Problem Solving Spring 2012 Problem Set 10: Electrical Circuits Due: 12 noon, Friday May 11, 2012

Introduction to Computers and Engineering Problem Solving Spring 2012 Problem Set 10: Electrical Circuits Due: 12 noon, Friday May 11, 2012 Introduction to Computers and Engineering Problem Solving Spring 2012 Problem Set 10: Electrical Circuits Due: 12 noon, Friday May 11, 2012 I. Problem Statement Figure 1. Electric circuit The electric

More information

This course involves writing and revising a research paper on a topic of your choice, and helping other students with their research papers.

This course involves writing and revising a research paper on a topic of your choice, and helping other students with their research papers. Liberal Studies 4800, Senior Capstone Seminar Dr. Daniel Kolak, Atrium 109, kolakd@wpunj.edu Welcome to the Liberal Studies Capstone Seminar! General Information This course involves writing and revising

More information

Kenken For Teachers. Tom Davis January 8, Abstract

Kenken For Teachers. Tom Davis   January 8, Abstract Kenken For Teachers Tom Davis tomrdavis@earthlink.net http://www.geometer.org/mathcircles January 8, 00 Abstract Kenken is a puzzle whose solution requires a combination of logic and simple arithmetic

More information

Assignment 2 (Part 1 of 2), University of Toronto, CSC384 - Intro to AI, Winter

Assignment 2 (Part 1 of 2), University of Toronto, CSC384 - Intro to AI, Winter Assignment 2 (Part 1 of 2), University of Toronto, CSC384 - Intro to AI, Winter 2011 1 Computer Science 384 February 20, 2011 St. George Campus University of Toronto Homework Assignment #2 (Part 1 of 2)

More information

MITOCW ocw lec11

MITOCW ocw lec11 MITOCW ocw-6.046-lec11 Here 2. Good morning. Today we're going to talk about augmenting data structures. That one is 23 and that is 23. And I look here. For this one, And this is a -- Normally, rather

More information

Introduction. Due Friday, February 28 at 3:15PM

Introduction. Due Friday, February 28 at 3:15PM CS106A Handout 24 Winter 2013-2014 February 19, 2014 Assignment 5: Array Algorithms Introduction Arrays are a fundamental and versatile tool for representing, manipulating, and transforming data. In this

More information

Graphs and Charts: Creating the Football Field Valuation Graph

Graphs and Charts: Creating the Football Field Valuation Graph Graphs and Charts: Creating the Football Field Valuation Graph Hello and welcome to our next lesson in this module on graphs and charts in Excel. This time around, we're going to being going through a

More information

CS 371M. Homework 2: Risk. All submissions should be done via git. Refer to the git setup, and submission documents for the correct procedure.

CS 371M. Homework 2: Risk. All submissions should be done via git. Refer to the git setup, and submission documents for the correct procedure. Homework 2: Risk Submission: All submissions should be done via git. Refer to the git setup, and submission documents for the correct procedure. The root directory of your repository should contain your

More information

Unit 12: Artificial Intelligence CS 101, Fall 2018

Unit 12: Artificial Intelligence CS 101, Fall 2018 Unit 12: Artificial Intelligence CS 101, Fall 2018 Learning Objectives After completing this unit, you should be able to: Explain the difference between procedural and declarative knowledge. Describe the

More information

Dutch Sudoku Advent 1. Thermometers Sudoku (Arvid Baars)

Dutch Sudoku Advent 1. Thermometers Sudoku (Arvid Baars) 1. Thermometers Sudoku (Arvid Baars) The digits in each thermometer-shaped region should be in increasing order, from the bulb to the end. 2. Search Nine Sudoku (Richard Stolk) Every arrow is pointing

More information

Lab 1. Due: Friday, September 16th at 9:00 AM

Lab 1. Due: Friday, September 16th at 9:00 AM Lab 1 Due: Friday, September 16th at 9:00 AM Consult the Standard Lab Instructions on LEARN for explanations of Lab Days ( D1, D2, D3 ), the Processing Language and IDE, and Saving and Submitting. 1. D1

More information

The remarkably popular puzzle demonstrates man versus machine, backtraking and recursion, and the mathematics of symmetry.

The remarkably popular puzzle demonstrates man versus machine, backtraking and recursion, and the mathematics of symmetry. Chapter Sudoku The remarkably popular puzzle demonstrates man versus machine, backtraking and recursion, and the mathematics of symmetry. Figure.. A Sudoku puzzle with especially pleasing symmetry. The

More information

CSE 231 Fall 2012 Programming Project 8

CSE 231 Fall 2012 Programming Project 8 CSE 231 Fall 2012 Programming Project 8 Assignment Overview This assignment will give you more experience on the use of classes. It is worth 50 points (5.0% of the course grade) and must be completed and

More information

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer

ECEn 487 Digital Signal Processing Laboratory. Lab 3 FFT-based Spectrum Analyzer ECEn 487 Digital Signal Processing Laboratory Lab 3 FFT-based Spectrum Analyzer Due Dates This is a three week lab. All TA check off must be completed by Friday, March 14, at 3 PM or the lab will be marked

More information

Situations Involving Multiplication and Division with Products to 50

Situations Involving Multiplication and Division with Products to 50 Mathematical Ideas Composing, decomposing, addition, and subtraction of numbers are foundations of multiplication and division. The following are examples of situations that involve multiplication and/or

More information

SUDOKU SURPRISE. Hosted by Logic Masters India November Puzzles set by David McNeill Tested by Tom Collyer, Yuhei Kusui and Robert Vollmert

SUDOKU SURPRISE. Hosted by Logic Masters India November Puzzles set by David McNeill Tested by Tom Collyer, Yuhei Kusui and Robert Vollmert SUDOKU SURPRISE Hosted by Logic Masters India November 2014 Puzzles set by David McNeill Tested by Tom Collyer, Yuhei Kusui and Robert Vollmert I was exhausted after the World Puzzle and Sudoku Championships.

More information

Lab 3 FFT based Spectrum Analyzer

Lab 3 FFT based Spectrum Analyzer ECEn 487 Digital Signal Processing Laboratory Lab 3 FFT based Spectrum Analyzer Due Dates This is a three week lab. All TA check off must be completed prior to the beginning of class on the lab book submission

More information

Part III F F J M. Name

Part III F F J M. Name Name 1. Pentaminoes 15 points 2. Pearls (Masyu) 20 points 3. Five Circles 30 points 4. Mastermindoku 35 points 5. Unequal Skyscrapers 40 points 6. Hex Alternate Corners 40 points 7. Easy Islands 45 points

More information

MAS336 Computational Problem Solving. Problem 3: Eight Queens

MAS336 Computational Problem Solving. Problem 3: Eight Queens MAS336 Computational Problem Solving Problem 3: Eight Queens Introduction Francis J. Wright, 2007 Topics: arrays, recursion, plotting, symmetry The problem is to find all the distinct ways of choosing

More information

Instructor (Mehran Sahami):

Instructor (Mehran Sahami): Programming Methodology-Lecture21 Instructor (Mehran Sahami): So welcome back to the beginning of week eight. We're getting down to the end. Well, we've got a few more weeks to go. It feels like we're

More information

Econ 172A - Slides from Lecture 18

Econ 172A - Slides from Lecture 18 1 Econ 172A - Slides from Lecture 18 Joel Sobel December 4, 2012 2 Announcements 8-10 this evening (December 4) in York Hall 2262 I ll run a review session here (Solis 107) from 12:30-2 on Saturday. Quiz

More information

Cracking the Sudoku: A Deterministic Approach

Cracking the Sudoku: A Deterministic Approach Cracking the Sudoku: A Deterministic Approach David Martin Erica Cross Matt Alexander Youngstown State University Youngstown, OH Advisor: George T. Yates Summary Cracking the Sodoku 381 We formulate a

More information

ON 4-DIMENSIONAL CUBE AND SUDOKU

ON 4-DIMENSIONAL CUBE AND SUDOKU ON 4-DIMENSIONAL CUBE AND SUDOKU Marián TRENKLER Abstract. The number puzzle SUDOKU (Number Place in the U.S.) has recently gained great popularity. We point out a relationship between SUDOKU and 4- dimensional

More information

CSC C85 Embedded Systems Project # 1 Robot Localization

CSC C85 Embedded Systems Project # 1 Robot Localization 1 The goal of this project is to apply the ideas we have discussed in lecture to a real-world robot localization task. You will be working with Lego NXT robots, and you will have to find ways to work around

More information

MITOCW watch?v=6fyk-3vt4fe

MITOCW watch?v=6fyk-3vt4fe MITOCW watch?v=6fyk-3vt4fe Good morning, everyone. So we come to the end-- one last lecture and puzzle. Today, we're going to look at a little coin row game and talk about, obviously, an algorithm to solve

More information

MITOCW R13. Breadth-First Search (BFS)

MITOCW R13. Breadth-First Search (BFS) MITOCW R13. Breadth-First Search (BFS) The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high quality educational resources

More information

T G D T LMI PUZZLE TEST DUTCH TREAT WITH A GERMAN TWIST 7 TH 9 TH SEPTEMBER 2013 BY RICHARD STOLK INSTRUCTION BOOKLET GOOD LUCK AND HAVE FUN!

T G D T LMI PUZZLE TEST DUTCH TREAT WITH A GERMAN TWIST 7 TH 9 TH SEPTEMBER 2013 BY RICHARD STOLK INSTRUCTION BOOKLET GOOD LUCK AND HAVE FUN! LMI PUZZLE TEST UTH TRET WITH GERMN TWIST 7 TH TH SEPTEMER Y RIHR STOLK T T G INSTRUTION OOKLET Since I don t have my own weblog, I consider my user page in the puzzle portal of Logic Masters Germany my

More information

sudoku 16x16 454BB8EA3E376999F4F40AF890078C0E Sudoku 16x16 1 / 6

sudoku 16x16 454BB8EA3E376999F4F40AF890078C0E Sudoku 16x16 1 / 6 Sudoku 16x16 1 / 6 2 / 6 3 / 6 Sudoku 16x16 Sudoku 16x16. A very popular layout the Sudoku 16x16 puzzles present a satisfying challenge. Like the 9x9 puzzles this variation has square inner boxes. It is

More information

IN THIS ISSUE. Cave vs. Pentagroups

IN THIS ISSUE. Cave vs. Pentagroups 3 IN THIS ISSUE 1. 2. 3. 4. 5. 6. Cave vs. Pentagroups Brokeback loop Easy as skyscrapers Breaking the loop L-oop Triple loop Octave Total rising Dead end cells Pentamino in half Giant tents Cave vs. Pentagroups

More information

Situations Involving Multiplication and Division with Products to 100

Situations Involving Multiplication and Division with Products to 100 Mathematical Ideas Composing, decomposing, addition, and subtraction of numbers are foundations of multiplication and division. The following are examples of situations that involve multiplication and/or

More information

Programming Assignment 4

Programming Assignment 4 Programming Assignment 4 Due: 11:59pm, Saturday, January 30 Overview The goals of this section are to: 1. Use methods 2. Break down a problem into small tasks to implement Setup This assignment requires

More information

MITOCW R3. Document Distance, Insertion and Merge Sort

MITOCW R3. Document Distance, Insertion and Merge Sort MITOCW R3. Document Distance, Insertion and Merge Sort The following content is provided under a Creative Commons license. Your support will help MIT OpenCourseWare continue to offer high-quality educational

More information

of Nebraska - Lincoln

of Nebraska - Lincoln University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln MAT Exam Expository Papers Math in the Middle Institute Partnership 7-2009 Sudoku Marlene Grayer University of Nebraska-Lincoln

More information

ACM ICPC World Finals Warmup 2 At UVa Online Judge. 7 th May 2011 You get 14 Pages 10 Problems & 300 Minutes

ACM ICPC World Finals Warmup 2 At UVa Online Judge. 7 th May 2011 You get 14 Pages 10 Problems & 300 Minutes ACM ICPC World Finals Warmup At UVa Online Judge 7 th May 011 You get 14 Pages 10 Problems & 300 Minutes A Unlock : Standard You are about to finish your favorite game (put the name of your favorite game

More information