[Show all top banners]

Echoes
Replies to this thread:

More by Echoes
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 Computer Problem on Democracy in Nepal--Please solve
[VIEWED 2742 TIMES]
SAVE! for ease of future access.
Posted on 02-04-05 7:32 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

For some techies, excessive politics can be boring.

Here, I will try to put some of these things into a software engineer's perspective:

In the following program, the control never reaches line 16 (i.e. NepaliDemocracy is never run).

The goal of this exercise is to identify the problems that are causing this to happen.

There are two different ways to solve the problem and get the instance of NepaliDemocray to run:
A. We can either fix NepaliDemocracy, OR
B. We can fix Monarch

If we fix NepaliDemocracy, it wont matter whether we fix Monarch or not. The control WILL reach line 16.
If we fix Monarch, it won't matter whether we fix NepaliDemocracy or not. The control WILL reach line 16.

Answer the following:

1. What is the desired fix in NepaliDemocracy? (You may only change--not remove!--a statement. Hint: Very simple fix)
2. What is the desired fix in Monarch? (May require changes in more than one statement. Hint: Look at the recursive function)
3. Do you prefer fix A or B or both or none?

A relatively satisfactory explanation is required on all answers.

Non-programmers are also encouraged to participate. You may even be able to guess the answers without studying the program in depth!

(PS: This is my way of dissent, now that explict protests maybe persecuted)



 
Posted on 02-04-05 7:48 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Dude I think the democrasy wont run as long as IS_MONARCH_ABOVE_LAW =true
this is just wha t i think hai
 
Posted on 02-04-05 7:52 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Kalo akshar Bhaisi Barabar...maile ta kehi bujhya bha po??? Hetteri, computer ko bhasa ..kasto jatil
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 90 days
Recommended Popular Threads Controvertial Threads
What are your first memories of when Nepal Television Began?
निगुरो थाहा छ ??
TPS Re-registration case still pending ..
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
NRN card pros and cons?
Nas and The Bokas: Coming to a Night Club near you
मन भित्र को पत्रै पत्र!
Will MAGA really start shooting people?
TPS Work Permit/How long your took?
काेराेना सङ्क्रमणबाट बच्न Immunity बढाउन के के खाने ?How to increase immunity against COVID - 19?
Breathe in. Breathe out.
3 most corrupt politicians in the world
Guess how many vaccines a one year old baby is given
अमेरिकामा बस्ने प्राय जस्तो नेपालीहरु सबै मध्यम बर्गीय अथवा माथि (higher than middle class)
चितवनको होस्टलमा १३ वर्षीया शालिन पोखरेल झुण्डिएको अवस्था - बलात्कार पछि हत्याको शंका - होस्टेलहरु असुरक्षित
शीर्षक जे पनि हुन सक्छ।
Disinformation for profit - scammers cash in on conspiracy theories
Travelling to Nepal - TPS AP- PASSPORT
They are openly permitting undocumented immigrants to participate in federal elections in Arizona now.
Nas and The Bokas: Coming to a Night Club near you
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters