Download results
Showing 0-0 of 0 results
Items per page:
10
25
50
100
#
Exercise Title
Features
Description
Platform
Keywords
1
Given two numbers, return true if they both have the same sign.
Code Completion
Given two numbers, return true if they both have the same sign.
CodeCheck
Branches
,
Branches with Functions
2
Write a function that checks whether two points with coordinates x1, y1 and x2, y2 are in the same quadrant.
Code Completion
Write a function that checks whether two points with coordinates x1, y1 and x2, y2 are in the same quadrant.
CodeCheck
Branches
,
Branches with Functions
3
Given two numbers, return their distance if it less than 10, or 10 otherwise.
Code Completion
Given two numbers, return their distance if it less than 10, or 10 otherwise.
CodeCheck
Branches
,
Branches with Functions
4
On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row.
Code Completion
On a chessboard, positions are marked with a letter between a and h for the column and a number between...
CodeCheck
Branches
,
Branches with Functions
5
Given three numbers x, y, z and a Boolean variable <code>strict</code>, return <code>true</code> if <code>strict</code> is false and x ≤ y ≤ z, or <code>strict</code> is true and x < y < z.
Code Completion
Given three numbers x, y, z and a Boolean variable
strict
, return
true
if
strict
is false and x ≤...
CodeCheck
Branches
,
Branches with Functions
6
Given four numbers a, b, c, d, return true if exactly two of them are the same.
Code Completion
Given four numbers a, b, c, d, return true if exactly two of them are the same.
CodeCheck
Branches
,
Branches with Functions
7
Given three numbers, return true if they are evenly spaced; that is, sorted in ascending or descending order, with the same distance between them.
Code Completion
Given three numbers, return true if they are evenly spaced; that is, sorted in ascending or descending order, with the...
CodeCheck
Branches
,
Branches with Functions
8
Repeat for four numbers.
Code Completion
Repeat for four numbers. Hint: Use the previous problem.
CodeCheck
Branches
,
Branches with Functions
9
Given numbers x, y, and target, return whichever of x and y is closer to the target.
Code Completion
Given numbers x, y, and target, return whichever of x and y is closer to the target. If they have...
CodeCheck
Branches
,
Branches with Functions
10
Repeat with compass directions NW, NE, SW, SE.
Code Completion
Repeat with compass directions NW, NE, SW, SE.
CodeCheck
Branches
,
Branches Without Functions
11
Given a point with integer coordinates (x, y) and a compass direction N, E, S, W, print the neigboring lattice point.
Code Completion
Given a point with integer coordinates (x, y) and a compass direction N, E, S, W, print the neigboring lattice...
CodeCheck
Branches
,
Branches Without Functions
12
Given an input string, print the string with the first and last letter removed if they were equal, or the original string if they were not.
Code Completion
Given an input string, print the string with the first and last letter removed if they were equal, or the...
CodeCheck
Branches
,
Branches Without Functions
13
On a chessboard, positions are marked with a letter between a and h for the column and a number between 1 and 8 for the row.
Code Completion
On a chessboard, positions are marked with a letter between a and h for the column and a number between...
CodeCheck
Branches
,
Branches Without Functions
14
On a chessboard, fields are marked with a letter between a and h for the column and a number between 1 and 8 for the row.
Code Completion
On a chessboard, fields are marked with a letter between a and h for the column and a number between...
CodeCheck
Branches
,
Branches Without Functions
×
This is a detailed description.