IMPERATIVE PROGRAMMING WITH C

IMPERATIVE PROGRAMMING WITH C

University

10 Qs

quiz-placeholder

Similar activities

Exception handling -oracle plsql

Exception handling -oracle plsql

University

15 Qs

CSC305: TOPIC 2

CSC305: TOPIC 2

University

15 Qs

Java Methods

Java Methods

University

15 Qs

Quiz on Functions#1

Quiz on Functions#1

University

15 Qs

QUIZ CC 102 (FUNCTIONS)

QUIZ CC 102 (FUNCTIONS)

University

15 Qs

PPL

PPL

University

10 Qs

Round 1

Round 1

University

10 Qs

Python Functions and Docstrings Quiz

Python Functions and Docstrings Quiz

University

12 Qs

IMPERATIVE PROGRAMMING WITH C

IMPERATIVE PROGRAMMING WITH C

Assessment

Quiz

Computers

University

Medium

Created by

'Aisyah Sa'dan

Used 3+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

This component of a subprogram declares name, type and parameter of the subprogram.

Subprogram call

Subprogram header

Subprogram declaration

Subprogram definition

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables that are defined inside subprograms are called

user-defined variable

pre-defined variable

global variable

local variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is TRUE regarding pass-by-reference?

Two ways communication, but by referring to memory location

A returning value to the caller by the callee

A process by copying the parameter values from actual parameters to formal parameters.

Two ways communications with in only passing parameters.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the TRUE statement about imperative language.

Default commands are executed in sequential manner

Can handle class data type mechanism

Smalltalk is example of programming language in this category.  

A dynamic typing programming

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which are the key concepts of imperative programming?

                      I.    Variables

                     II.    Commands

                   III.    Procedures

                  IV.    Class

I, II, III

I, II, IV

II, III, IV

I, III, IV

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a primitive data type?

integer

floating

string

char

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parameters in the subprogram header are called

A. actual parameters

B. positional parameters

C. declaration parameters

D. formal parameters

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?