C Programming & Technology Basics

Questions about technology companies, software history, and C programming concepts including library functions, data types, and mathematical operations

14 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

When using a built-in function, you must?

  1. include the function's prototype.
  2. include the proper header file.
  3. include the function's definition.
  4. specify the length of the library function.
Question 2 Multiple Choice (Single Answer)

The library function isalpha( ) requires the header file?

  1. <ctype.h>
  2. <math.h>
  3. <time.h>
  4. <stdlib.h>
Question 3 Multiple Choice (Single Answer)

The built-in library function isalnum( ) is testing to determine if the argument is?

  1. one of "all" numbers available from the keyboard.
  2. an alphabet character.
  3. an ASCII character.
  4. an alphanumeric.
Question 4 Multiple Choice (Single Answer)

When using atoi( ) with an apstring variable,?

  1. you must convert the apstring to a standard string by using .c_str( ).
  2. all numbers within the string will be converted to integers.
  3. all characters within the string will be converted to ASCII equivalents.
  4. all alphabetic characters within the string will be counted.
Question 5 Multiple Choice (Single Answer)

The built-in library function ceil(x) requires the header file?

  1. <ctype.h>
  2. <math.h>
  3. <stdlib.h>
  4. <time.h>
Question 6 Multiple Choice (Single Answer)

To raise any number to a power, use?

  1. the exponent symbol ^.
  2. the built-in library function pow(x,y).
  3. the built-in library function pow10(x).
  4. concatenation.
Question 7 Multiple Choice (Single Answer)

time_t is?

  1. a variable used to hold a number from the computer's internal clock.
  2. a data type
  3. a built-in library function which will return a value from the internal clock.
  4. a header file.
Question 8 Multiple Choice (Single Answer)

The function time(NULL) returns the number of seconds elapsed since 00:00:00 hours ?

  1. January 1, 1900.
  2. January 1, 1950.
  3. January 1, 1970.
  4. January 1, 1990.
Question 9 Multiple Choice (Single Answer)

The rand( ) built-in library function?

  1. is a true random number generator.
  2. returns positive double values.
  3. is a pseudo-random number generator.
  4. returns a different sequence of values each time it is run.
Question 10 Multiple Choice (Single Answer)

In the formula used for generating random numbers within a specific range (int number = a + rand( ) % n;), the n represents?

  1. the first value in the range of numbers.
  2. the last value in the range of numbers.
  3. the number of terms in the range of numbers.
  4. the number of guesses the user will be allowed.
Question 11 Multiple Choice (Single Answer)

What was Microsoft Powerpoint originally named as?

  1. Pinpointer
  2. Powerslider
  3. Precipitator
  4. Presenter
Question 12 Multiple Choice (Single Answer)

What does ICQ, the chat program, stands for?

  1. International Computer Quotient
  2. Intelligence Communicative Quotient
  3. I Seek You
  4. Immediate Sense Quotient
Question 13 Multiple Choice (Single Answer)

Who is the father of cyberspace?

  1. Steve Jobs
  2. William Gibson
  3. Neil Armstrong
  4. None of these
Question 14 Multiple Choice (Single Answer)

Which website was founded by Jeff Bezos?

  1. ebay.com
  2. google.com
  3. yahoo.com
  4. amazon.com