IMPERATIVE PROGRAMMING WITH C

Quiz
•
Computers
•
University
•
Medium
'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
Similar Resources on Wayground
12 questions
BCA Revision u11 to 14

Quiz
•
University
10 questions
C++ Functions

Quiz
•
University
8 questions
Unit 1 - Structure of C

Quiz
•
University
10 questions
Understanding Procedures in Python

Quiz
•
9th Grade - University
15 questions
Paper 2 Revision

Quiz
•
10th Grade - University
15 questions
AWD - Midterm Quiz

Quiz
•
University
15 questions
Exception handling -oracle plsql

Quiz
•
University
10 questions
CSNP-04103 Chapter 6 - Functions

Quiz
•
University
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade