Child is still here. Child is still here. Child is still here.

What will be an ideal response?


```
#!/usr/local/bin/python

import signal
import time
import sys

# Handles SIGINT signal
def handler( signum, frame ):

answer = raw_input( "Are you sure you want to exit? (y/n)" )

if answer != "n":
sys.exit( 0 )

signal.signal( signal.SIGINT, handler )

while 1:
print "The process is here, waiting..."
time.sleep( 1 )
```
The process is here, waiting...
The process is here, waiting...
The process is here, waiting...
Are you sure you want to exit? (y/n)n
The process is here, waiting...
The process is here, waiting...
The process is here, waiting...
The process is here, waiting...
Are you sure you want to exit? (y/n)y

Computer Science & Information Technology

You might also like to view...

The ++ and -- operators can be written before their operands, which is called ____________.

a. preface mode b. post fix mode c. prefix mode d. superscript mode

Computer Science & Information Technology

An _________ domain is a commutative ring that obeys the axioms multiplicative identity and no zero divisors.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Case-Based Critical Thinking QuestionsCase 7-2Kyra is quizzing her friend Leon about the various options available in CSS to direct parts of the Web page to different output devices, in preparation for his test tomorrow.Leon tells Kyra that one of the following must be specified when creating an external print style sheet. Which one must be specified?

A. page layout B. text color C. font family D. both b and c

Computer Science & Information Technology

In a table, the intersection of a column and row is called a compartment

Indicate whether the statement is true or false

Computer Science & Information Technology