BCIS 3680 FINAL STUDY GUIDE
Error: unchecked exception - Answers -These are critical errors due to rare reasons,
such as:
An internal error in the Java Virtual Machine, Computer running out of memory.
Error: checked exception - Answers -These are errors having to do with your program,
they are checked before compiling and will have to be addressed before compiling
Error: logical - Answers -These are errors caused by erroneously used variables,
method names, data types, etc. may not cause run time errors if they are coincidentally
compatible and don't cause syntax errors when misplaced.
superclass of all exceptions and the major methods - Answers -RuntimeException
handling of exceptions - Answers -An exception handler is a section of code that
gracefully responds to exceptions.
try‐ catch‐finally block - Answers -try
{
(try block statements...)
}
catch (ExceptionType ParameterName)
{
(catch block statements...)
}
finally
{
(finally block statements...)
}
log in to MySQL - Answers -mysql -u root -p
Log out of MySQL - Answers -either type:
\q
exit
quit
List existing Databases in MySQL - Answers -show databases;
Selecting Database to work on - Answers -use <Database>;
Show tables in Database - Answers -show tables;
Run SQL script files - Answers -Sourse <sourse files>;
Error: unchecked exception - Answers -These are critical errors due to rare reasons,
such as:
An internal error in the Java Virtual Machine, Computer running out of memory.
Error: checked exception - Answers -These are errors having to do with your program,
they are checked before compiling and will have to be addressed before compiling
Error: logical - Answers -These are errors caused by erroneously used variables,
method names, data types, etc. may not cause run time errors if they are coincidentally
compatible and don't cause syntax errors when misplaced.
superclass of all exceptions and the major methods - Answers -RuntimeException
handling of exceptions - Answers -An exception handler is a section of code that
gracefully responds to exceptions.
try‐ catch‐finally block - Answers -try
{
(try block statements...)
}
catch (ExceptionType ParameterName)
{
(catch block statements...)
}
finally
{
(finally block statements...)
}
log in to MySQL - Answers -mysql -u root -p
Log out of MySQL - Answers -either type:
\q
exit
quit
List existing Databases in MySQL - Answers -show databases;
Selecting Database to work on - Answers -use <Database>;
Show tables in Database - Answers -show tables;
Run SQL script files - Answers -Sourse <sourse files>;