Robotics Quiz

Robotics Quiz

1st - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Composition, Complex Numbers, & Piecewise Pretest

Composition, Complex Numbers, & Piecewise Pretest

11th - 12th Grade

13 Qs

Advanced Java Study Guide

Advanced Java Study Guide

11th - 12th Grade

10 Qs

3.2 Complex Numbers

3.2 Complex Numbers

9th - 12th Grade

11 Qs

The Complex Number Puzzle

The Complex Number Puzzle

11th Grade - University

10 Qs

Illustrative Complex Numbers

Illustrative Complex Numbers

11th Grade - University

10 Qs

Penilaian Akhir Tahun Matematika Peminatan

Penilaian Akhir Tahun Matematika Peminatan

10th Grade

10 Qs

Complex Numbers/ Solving Quadratic Equations w/ Complex Zeros

Complex Numbers/ Solving Quadratic Equations w/ Complex Zeros

9th - 12th Grade

10 Qs

PENAMBAHAN, PENOLAKAN DAN PENDARABAN DUA NOMBOR KOMPLEKS

PENAMBAHAN, PENOLAKAN DAN PENDARABAN DUA NOMBOR KOMPLEKS

12th Grade

10 Qs

Robotics Quiz

Robotics Quiz

Assessment

Quiz

Computers, Science, Mathematics

1st - 12th Grade

Hard

Created by

joshua igoni

Used 5+ times

FREE Resource

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How many times will the loop execute?

unsigned char half_limit = 150;
for (unsigned char i = 0; i < 2 * half_limit; ++i)
{
// do something
}

150

500

Infinite

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

what will be the value of "i" and "j" when the following code is executed?


 int i =10;int\ i\ =10;  
 int j = i++;int\ j\ =\ i++;  

 i =11,  j= 11i\ =11,\ \ j=\ 11  

 i = 11,  j = 10i\ =\ 11,\ \ j\ =\ 10  

 i = 10,  j = 11i\ =\ 10,\ \ j\ =\ 11  

 i = 10,  j = 10i\ =\ 10,\ \ j\ =\ 10  

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you create a variable with the floating Number 2.8?

int x = 2.8;

x = 2.8;

double x = 2.8;

byte x = 2.8

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which header file lets us work with input and output objects?

#include <stream>

#include <iostream>

#include <inputstr>

#include <iosstring>

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How do you start writing a while loop in c++?

x > y whlle {

while x > y {

while x > y:

while (x > y)

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

what is the correct syntax to output "hello world" in c++?

System.out.println("hello world");

cout << "hello world";

print ("hello world");

Console.Writeline("hello world");

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

Does both the loops in the following program print the correct string length?

Yes, Both the loops print the correct length

Only for loop prints the correct length

Only while loop prints the correct length

Compile error in the program

8.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is the output of the program?

5

Address of "x"

Compile error

10