C Programming & Technology Basics
Questions about technology companies, software history, and C programming concepts including library functions, data types, and mathematical operations
Questions
When using a built-in function, you must?
- include the function's prototype.
- include the proper header file.
- include the function's definition.
- specify the length of the library function.
The library function isalpha( ) requires the header file?
- <ctype.h>
- <math.h>
- <time.h>
- <stdlib.h>
The built-in library function isalnum( ) is testing to determine if the argument is?
- one of "all" numbers available from the keyboard.
- an alphabet character.
- an ASCII character.
- an alphanumeric.
When using atoi( ) with an apstring variable,?
- you must convert the apstring to a standard string by using .c_str( ).
- all numbers within the string will be converted to integers.
- all characters within the string will be converted to ASCII equivalents.
- all alphabetic characters within the string will be counted.
The built-in library function ceil(x) requires the header file?
- <ctype.h>
- <math.h>
- <stdlib.h>
- <time.h>
To raise any number to a power, use?
- the exponent symbol ^.
- the built-in library function pow(x,y).
- the built-in library function pow10(x).
- concatenation.
time_t is?
- a variable used to hold a number from the computer's internal clock.
- a data type
- a built-in library function which will return a value from the internal clock.
- a header file.
The function time(NULL) returns the number of seconds elapsed since 00:00:00 hours ?
- January 1, 1900.
- January 1, 1950.
- January 1, 1970.
- January 1, 1990.
The rand( ) built-in library function?
- is a true random number generator.
- returns positive double values.
- is a pseudo-random number generator.
- returns a different sequence of values each time it is run.
In the formula used for generating random numbers within a specific range (int number = a + rand( ) % n;), the n represents?
- the first value in the range of numbers.
- the last value in the range of numbers.
- the number of terms in the range of numbers.
- the number of guesses the user will be allowed.
What was Microsoft Powerpoint originally named as?
- Pinpointer
- Powerslider
- Precipitator
- Presenter
What does ICQ, the chat program, stands for?
- International Computer Quotient
- Intelligence Communicative Quotient
- I Seek You
- Immediate Sense Quotient
Who is the father of cyberspace?
- Steve Jobs
- William Gibson
- Neil Armstrong
- None of these
Which website was founded by Jeff Bezos?
- ebay.com
- google.com
- yahoo.com
- amazon.com