[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 3418 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 365 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
TPS Re-registration
What are your first memories of when Nepal Television Began?
निगुरो थाहा छ ??
ChatSansar.com Naya Nepal Chat
Basnet or Basnyat ??
Sajha has turned into MAGATs nest
NRN card pros and cons?
Toilet paper or water?
TPS EAD auto extended to June 2025 or just TPS?
Biden out, Trump next president, so what’s gonna happen to TPS, termination?
Nas and The Bokas: Coming to a Night Club near you
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
मन भित्र को पत्रै पत्र!
Will MAGA really start shooting people?
Democrats are so sure Trump will win
Tourist Visa - Seeking Suggestions and Guidance
From Trump “I will revoke TPS, and deport them back to their country.”
I hope all the fake Nepali refugee get deported
Anybody gotten the TPS EAD extension alert notice (i797) thing? online or via post?
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