9618 functions,procedures,string functions-recap

9618 functions,procedures,string functions-recap

12th Grade

20 Qs

quiz-placeholder

Similar activities

Mastering C Programming Concepts

Mastering C Programming Concepts

12th Grade

15 Qs

Understanding Loops in C Programming

Understanding Loops in C Programming

1st Grade - University

15 Qs

Bài 26

Bài 26

10th Grade - University

15 Qs

P1-Robot Types and Functions Quiz

P1-Robot Types and Functions Quiz

12th Grade

20 Qs

Python - Chapter 3 Practice Quiz

Python - Chapter 3 Practice Quiz

12th Grade

25 Qs

Quiz on Procedures in Programming

Quiz on Procedures in Programming

12th Grade

15 Qs

Тест по функциям Python (functions 3)

Тест по функциям Python (functions 3)

9th - 12th Grade

18 Qs

Information System

Information System

12th Grade

22 Qs

9618 functions,procedures,string functions-recap

9618 functions,procedures,string functions-recap

Assessment

Quiz

Information Technology (IT)

12th Grade

Medium

Created by

Anusha Rahul

Used 2+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the pseudocode:

PROCEDURE Calculate(x, y)

CALL Calculate(5, 10)

CALL Calculate(3, 4).

How many times is the procedure 'Calculate' called?

1
2
3
4

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which parameter passing method allows modification of the original variable?
By Value (BYVAL)
By Reference (BYREF)
By Copy
By Constant

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Evaluate the expression: MID('Hello World', 7, 5). What is the result?
'World'
'Hello'
'Worl'
'ello'

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the key difference between procedures and functions?
Functions can only have one parameter
Procedures return values, functions do not
Functions return values, procedures do not
Procedures are faster than functions

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the expression RIGHT('ABCDEFGH', 3), what is returned?
'ABC'
'FGH'
'CDE'
'EFG'

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the result of the expression INT(27.5415)?
28
27.5
27
27.54

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would the expression LENGTH(UCASE('Hi') & LCASE('BYE')) return?
5
6
7
8

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?