Browse all practice questions for the RECF Programming Practice Test. Search by topic, open any question and review its full explanation, then test yourself in the practice quiz.

RECF Programming Practice Test course image
More practice questions

These questions are part of the practice quiz. Start practicing

  • How many hexadecimal digits are required to represent the binary string '1011 0101 1001 0011'?
  • Which practice improves code readability?
  • What is the sum of binary numbers 01101101 and 00111100?
  • Which term describes a wireless networking technology for local area networks?
  • If a function uses the ternary operator to compute the max, what would m be if a=4 and b=7?
  • Which of these is not part of a central processing unit (CPU)?
  • What punctuation is used to start and end a code block in C?
  • What does the expression value & 1 yield?
  • Which statement best describes Moore's Law's relevance to future hardware trends?
  • In the for loop syntax for (int i = 0; i < n; i++), what does i < n specify?
  • I/O stands for what in computing?
  • Which description best defines a macro in C?
  • How do you start a concurrent task named 'driveTask'?
  • Which function would you use to print lines for debugging?
  • Which statement best describes floating-point arithmetic?
  • Which operator performs a logical right shift by one bit on an unsigned integer?
  • How would you ensure a strict type conversion from float to int?
  • When does an infinite loop occur?
  • Compute 10100010 OR 01011101.
  • To exclude a word in a Google search, prefix it with what symbol?
  • Which loop guarantees at least one execution?
  • Which term refers to the machines, wiring, and other physical components of a computer system?
  • Which of the following is not an input device?
  • Which symbol is used to assign a value to a variable?
  • Which term describes a high-level, language-agnostic description of an algorithm's steps?
  • Which term denotes a company that provides customers access to the Internet?
  • Which term refers to a network service that automatically assigns IP addresses and other TCP/IP configuration information?
  • What is a typical use of the abs function?
  • What is the correct form of the ternary conditional operator?
  • In floating-point arithmetic, what does underflow refer to?
  • Which prefix is commonly used to denote hexadecimal literals in many programming languages?
  • In a function named bitCount that returns an unsigned integer, what is the name of the input variable?
  • Which term describes the global system of networks that uses TCP/IP protocols to transmit data?
  • What is the effect of 'int mat[3][3] = {0};' in C?
  • What does the const qualifier do to a variable?
  • Which of the following is NOT a digital storage element?
  • What does the acronym CPU stand for?
  • Which of the following is a valid function prototype for adding two integers?
  • Which term provides wireless local area networking using radio signals?
  • Which is a correct function prototype before main for a function that returns int?
  • FPU stands for?
  • Which operator would you use to check if two values are not equal?
  • 0100 represents which decimal value when interpreted as a 4-bit binary number?
  • In the context of bitCount, what is the return type?
  • Which statement has the same effect as 'value = value >> 1'?
  • What must a flip-flop have in digital circuits?
  • Which term connects multiple network segments and can forward traffic between them?
  • Which of the following is not a programming language?
  • HTTP stands for what?
  • In a bitCount function, which statement best describes the returned count?
  • Which statement has the same effect as 'count = count + 2'?
  • Which binary string represents decimal 15?
  • What is the decimal sum of 109 and 60?
  • What is a string in programming?
  • Which is the hex representation of binary 1011 0101 1001 0011?
  • Which statement best describes ROM?
  • When https appears in a web address bar, what does it indicate?
  • Which is a simple switch-case that prints a message for 0, 1, or default?
  • Which binary representation equals decimal 4?
  • What is the Central Processing Unit (CPU)?
  • The operation value = value / 2 is equivalent to value = value >> 1. True or False?
  • In the expression a % b, which part represents the divisor?
  • What punctuation is used to start and end a code block in C?
  • Which of the following is a valid function prototype for a function named add that takes two int parameters and returns int?
  • Firewall is defined as?
  • What is the typical motor power range in RobotC for VEX?
  • What is the effect of the static keyword for a local variable inside a function?
  • In a do-while loop, what is the minimum number of times the loop body executes?
  • How do you declare an enum for four compass directions?
  • If a function processes a two-digit decimal input by repeatedly dividing by 2 in a while loop, how many iterations will occur at minimum?
  • Which term refers to malicious software designed to cause harm and operate covertly?
  • In a switch statement, what is the purpose of the default case?
  • Which of the following is a storage device listed in the material?
  • What is the difference between passing by value and passing by reference?
  • What is the 4-bit binary representation of decimal 15?
  • When https appears in a web address bar, it means?
  • Which description matches a worm?
  • Which acronym stands for Central Processing Unit?
  • Which is NOT a digital storage element?
  • How do you set a motor named 'leftMotor' to move at full forward speed?
  • Which statement about a nibble is true?
  • What is the function of a Graphics Processing Unit (GPU)?
  • What is the primary role of HTTP?
  • If you declare int data[10], what is the index of the last element?
  • Which of these computer language keywords is not used for looping?
  • Which term refers to routing data packets across networks in a connectionless manner?
  • How do you declare a struct with two integer fields 'x' and 'y' and create a typedef alias 'Point'?
  • Which loop snippet correctly copies n elements from src to dest?
  • Which statement best describes the Floating Point Unit (FPU) within a CPU?
  • How do you declare a one-dimensional array of 10 integers in C?
  • Which of the following is not a common programming language?
  • Dividing an unsigned integer by 2 yields the same result as a right shift by one bit. True or False?
  • Which term describes a data type that stores a single character such as a letter or symbol?
  • Which example would go in RAM according to the material?
  • Which statement about RAM is true?
  • Port 443 is commonly used by which protocol?
  • Refer to function bitCount(). Which statement about the returned value 'count' is true?
  • What is the hexadecimal representation of decimal 15?
  • What is the main difference between autonomous and user-controlled phases?
  • Which value represents full forward motor speed in the given RobotC range?
  • What does I/O stand for?
  • Which of these is a common programming language?
  • If a variable named 'count' is initialized to 0, which statement is true about its initial value?
  • What does the abbreviation IP stand for?
  • What is the decimal value of hexadecimal 0F?
  • How do you read a sensor value from a sensor named 'sonar'?
  • Which mechanism enables the secure version HTTPS to protect traffic?
  • Which statement correctly describes the Central Processing Unit?
  • What does CRT stand for in computer hardware?
  • Which operator checks for equality between two values?
  • Which binary number equals decimal 9?
  • Which of the following is not equivalent to the others?
  • Normalization in floating-point representation refers to:
  • Which expression returns the length of a C-style string stored in a character array named name?
  • Which function pauses the program for a specified number of milliseconds?
  • Which item would go in ROM according to the material?
  • What is the purpose of a function prototype?
  • Which statement describes the effect of passing by value versus passing by reference on the caller's data?
  • Which of the following shows a correct prototype and a definition for adding two integers?
  • A nibble has how many bits?
  • What is a common practice to ensure readability in code?
  • Which term is the Internet's system for converting alphabetic names into numeric IP addresses?
  • What is the result of integer division 7 / 3 in C?
  • What is the effect of 'break' inside a loop?
  • Which is the binary representation of decimal 4?
  • ROM stands for Read Only Memory. Which description best matches ROM?
  • A nibble has how many bits?
  • Which of these is not an input device?
  • If a function returns an unsigned integer, what kind of values does it produce?
  • How do you reference the left motor inside the motor array?
  • Which protocol is used for transmitting web pages over the Internet?
  • Which of the following is a runtime error category?
  • What is the purpose of pre_auton() in the competition template?
  • Which option reflects a commonly cited hardware scalability challenge affecting Moore's Law?
  • Which loop continues until a boolean flag becomes true?
  • Which option best describes a character in computing?
  • In a floating-point system, what does the exponent do?
  • What does short-circuit evaluation mean for logical operators?
  • Which base uses digits 0-7 exclusively?
  • Which of the following is a correct function definition for adding two integers?
  • What does I/O stand for in computing?
  • Which statement about HTTPS connections is NOT a valid characteristic?
  • How do you skip to the next iteration in a loop?
  • IP stands for what in networking?
  • Which term is associated with older CRT displays?
  • Which term is responsible for translating domain names to IP addresses?
  • Which device is not an input device?
  • Which of the following is typically non-volatile storage?
  • A private network that links computers within a company is called what?
  • The statement is not equivalent to count = count + 2. True or False?
  • Which term is an electronic device that receives data, processes data, stores data, and produces a result?
  • Which device is used to produce output from a computer?
  • What are the names of the fields in the Point structure?
  • Which data type would you use to store a whole number that can be negative, such as encoder counts?
  • Which statement is true about floating-point precision?
  • How do you declare a boolean variable named 'done'?
  • Which description best defines the Internet as given in the material?
  • How can you safely compare a pointer to detect a null reference?
  • How would you describe recursion in programming?
  • What is the return type of a function named bitCount that counts bits and returns the count as an unsigned integer?
  • How would you declare and initialize a two-dimensional array of 3x3 with zeros?
  • Which of these is not a valid octal literal?
  • Which term best describes a network security device that blocks unauthorized access while allowing outward communication?
  • Which term serves as a centralized resource or service accessible over a network?
  • Which statement about IP is true according to the material?
  • How do you create a simple macro-like substitution in C?
  • CRT stands for?
  • What return type should a function have if it does not return a value?
  • Which of these is not a common programming language?
  • Which four-bit binary sequence represents decimal 15?
  • Compute 0110 + 0011 in 4-bit binary.
  • What is the CPU primarily responsible for?
  • Where do RAM modules reside in a typical computer?
  • Which statement about integer division in C is true?
  • Which statement best captures Moore's Law implication?
  • Which of the following is not a common programming language?
  • Which of the following is an input device?
  • Which 8-bit binary sequence represents decimal 32?
  • What does double precision mean?
  • What is the hex representation of binary 1011 0010 1111 0000?
  • Which of the following lists the four compass directions defined in the enumeration?
  • How do you stop a running task named 'driveTask'?
  • Which is the hex representation of decimal 15?
  • How do you prematurely exit a loop?
  • Spam is best described as?
  • Which statement best defines a computer virus?
  • What happens to RAM when the computer is turned off?
  • Which base is commonly used in binary floating-point representations?
  • What is the maximum decimal value for an unsigned 8-bit binary number?
  • What is the hex representation of decimal 32?
  • What is the hex representation of decimal 32?
  • Which function increments the integer value pointed to by p?
  • Which statement correctly defines an integer?
  • What is the primary role of a CPU in a computer system?
  • If the function is called with a 2 digit decimal number, how many times will the while loop execute (maximum) if the loop halves the value each iteration until zero?
  • Which term describes an elastic leasing of pooled computer resources over the internet?
  • What is the decimal value of the binary number 010101001?
  • How do you access the 'x' member of a Point variable named p?
  • Which of the following is a valid hexadecimal form for 15?
  • What does the modulo operator (%) do?
  • Which term is a computer or program that manages access to a centralized resource or service in a network?
  • Which of the following best describes a binary numeral system?
  • Which statement best describes IP (Internet Protocol)?
  • Which pair typically composes a floating-point number in binary systems?
  • What is overflow in floating-point arithmetic?
  • What is the name of the type defined by the enumeration containing NORTH, EAST, SOUTH, WEST?
  • Which term provides internet access to customers?
  • What does the acronym FPU stand for?
  • HTTPS differs from HTTP because it
  • Intranet is defined as
  • How do you declare a function that takes a pointer to an int and returns void?
  • Which keyword is not used for looping?
  • In C-based languages, does arithmetic operator precedence outrank assignment?
  • What is an advantage of using floating-point numbers?
  • Which of these is not part of a central processing unit (CPU)?
  • Which statement correctly describes a two-dimensional array in C?
  • Which operator performs a logical AND operation?
  • In programming, which statement is true about a variable named count?
  • What is the binary representation of decimal 15?
  • Which term is a network device that connects network segments?
  • Which of the following is a common digital storage element?
  • What is a common consequence of finite precision in floating-point arithmetic?
  • How do you access the 7th element of an array named data?
  • Which of the following is not typically considered part of a CPU?
  • Which of the following best defines malware?
  • How do you check if two arrays are equal element-wise?
  • Which of the following best characterizes a worm?
  • Which for loop correctly runs from i = 0 to i < n?
  • Denial of service describes which scenario?
  • Which code snippet increments the integer value pointed to by p, without changing the pointer itself?
  • Which term forwards data packets between computer networks?
  • Which declaration demonstrates the proper typedef alias for a Point structure?
Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy