Unix Exam 2

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

Which of the following is the correct extension of the Python file?

.pl

What will be the output of the following Python function: Len([hello",2,4,6])

4

Which of these is the 'True' value in Perl?

5

When a child process is created, which of the following is a possibility in terms of the execution or address space of the child process?

A) The child process runs concurrently with the parent. B) The child process has a new program loaded into it. C) The child is a duplicate of the parent.

Which type of Programming does Python support?

A) object-oriented programming B) structured programming C) functional programming

In Perl, ___ function is used for removing the last character from the line.

Chop

All processes in UNIX first translate to a zombie process upon termination.

F

Perl is the only language to take advantage of regular expressions.

F

The exec() system call creates a new process.

F

Which of the following is used to define a block of code in Python language

Indentation

A process is a program in execution.

T

A subroutine can be called from an external perl program.

T

Perl variables have no type and no initialization.

T

A process control block ____

includes information on the process's state


Set pelajaran terkait

Sociology Chapter 8, Sociology Chapter 9, Sociology Chapter 10, Sociology Chapter 11, Sociology Chapter 13, Sociology Chapter 14

View Set

LS 10: Some Lessons from Capital Market History

View Set

Musculoskeletal chapter 54 w/ ppt included

View Set

Psych 227 March 27th: The (Sometimes) Challenging/Negative Aspects of Human Sexuality (Part 2)

View Set

Physics final exam multiple choice

View Set