Ask KB - Free Consultancy

Domain Name

Ask for Domain Name Consultancy; Where to buy Cheap Domain Name; Buying an already booked Domain Name

Web Hosting

Consult and know your actual Web Hosting requirements. Find a Cheap Web Host..

SEO, SMO, SEM

What is SEO, SMO and SEM..Know how to do it

Online Marketing

Want to do online marketing. Ask us how to do it.

Google Apps Implementation

Ask Questions, get Support for Implementing Google Apps for you, your organisation

Blog Creation

Get Support for Starting a Free Blog

Forum Creation

Get Support for Starting a Free Forum

Google Services

Ask about various Google Services like Google Analytics, Google Adsense, Google Apps, Blogger, Google Sites, Feedburner, Google Reader and more..

Facebook Apps

Ask about Facebook Apps Development

Services offered

Resume/CV Writing

Get quality Resume and CV writing at cheap prices

Data Entry

Get quality data entry work done at cheap prices

Web Accounts Management

Online account creation and management for Social Accounts, Marketing Accounts at cheaper prices.

Domain research

get suggestions and availability of Domain Names

Updates from Blogs

KB
Mon, 30 Dec 2013 15:22:29 +0000
This is the version (2.0) of our earlier post Find connection path between two users in a social network using PHP and http://blog.kunals.com/php-cod
Basic Codes
Marketing
Thu, 23 Feb 2012 15:29:42 +0000
Creating profiles on websites to increase visibility is important for getting higher traffic and better rankings. There are many websites where profil

Contact Me

Which is smaller Ant or Elephant?

Invigilator, Students and Exam

A solution to a logical problem where an Invigilator has to make a sitting arrangement plan for some mischeivious students to avoid cheating in an examination. This problem deals with position location for sitting/utilisation where entities/item/students are not in direct contact and are not in a line of sight of each other.

It would be more clear by taking an example. Say, there is an arrangement (a square shaped) of 4x4 benches where 4 students are required to sit for an examination in such a way that no 2 students are sitting horizontally, vertically and diagonally to each other not only adjacently but in line of sight as well.

Now, there are 4 benches each in each of the 4 rows. Say, student A is sitting on 1st Bench of Row 1. So, second student can not sit on any of the benches of Row 1. Also, student B cannot sit on 1st benches of all row and not on 2nd bench of 2nd, 3rd bench of 3rd row and 4th bench of 4th row (because they are in diagonal to 1st bench of 1st row where student A is sitting).

To solve this problem where NxN benches/places are available in Square format and N students/items/entities need to be placed can be solved by placing students/items in such a way that no 2 such students/entities are in line of sight whether it be horizontally, vertically or diagonally.

To get the solution to this problem, choose the Grid size i.e. Square size and see what format/layout should be used.

| 4 x 4 | | 5 x 5 | | 6 x 6 | | 7 x 7 | | 8 x 8 | | 9 x 9 | | 10 x 10 | | 11 x 11 | | 12 x 12 | | 13 x 13 | | 14 x 14 | | 15 x 15 |
Grid: 4 x 4
X
X
X
X

Layout Successfully created