
Systems

Quiz
•
Computers
•
University
•
Medium
Dylan Scott
Used 4+ times
FREE Resource
33 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the binary number '11010110' in hexadecimal?
0x56
0xD6
0xA9
0x7B
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
For IEEE 754, what is the number of bits used for the sign, exponent, and fraction?
1 sign, 7 exponent, 24 fraction
2 sign, 6 exponent, 24 fraction
1 sign, 8 exponent, 23 fraction
1 sign, 8 exponent, 24 fraction
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is negative 7 in 4-Bit Two's Complement?
Hint: +7 is 0111
1000
1111
0111
1001
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of the following C code snippet?
255
-1
0
Does not compile
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following statements correctly checks if two strings str1 and str2 are equal in C?
if (str1 == str2)
if (strcmp(str1, str2) == 0)
if (str1.equals(str2))
if (*str1 == *str2)
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
What is the purpose of a function prototype in C?
To define the body of a function
To declare a function for later use
To initialize variables used in a function
To call a function
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
When passing a string to a function in C, what is actually being passed?
The first character of the string
The entire string as a copy
The address of the first character of the string
The length of the string
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
DFC20113 Programming Fundamentals Set B

Quiz
•
University
30 questions
OODP_Batch 1_Quiz

Quiz
•
University
30 questions
OODP FT1 Assessment Questions

Quiz
•
University
32 questions
Unit 1 APCSA

Quiz
•
9th Grade - University
30 questions
Think Tank Tuesday

Quiz
•
University
30 questions
Code debugging - Round 1

Quiz
•
University
30 questions
C Programming Quiz

Quiz
•
University
30 questions
Computer Programming-2

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade