mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-21 01:04:10 +08:00
f0c8f8697e
Purpose: [is this a bug fix? feature? ...] Description: [describe the bug, or describe the new feature, etc] Solution: [details about the changes, algorithm, etc...] [Please as detail as you can since your own explanation is better than others guessing it from the code.] Platforms tested: [machines you have tested the changed version. This is absolute important. Test it out on at least two or three different platforms such as Big-endian-32bit (SUN/IRIX), little-endian-32(LINUX) and 64-bit (IRIX64/UNICOS/DEC-ALPHA) would be good.]
163 lines
3.8 KiB
HTML
163 lines
3.8 KiB
HTML
<HTML><HEAD>
|
|
<TITLE>HDF5 Tutorial - Introductory Topics Quiz
|
|
</TITLE>
|
|
</HEAD>
|
|
|
|
<body bgcolor="#ffffff">
|
|
|
|
<!-- BEGIN MAIN BODY -->
|
|
|
|
<A HREF="http://www.ncsa.uiuc.edu/"><img border=0
|
|
src="http://www.ncsa.uiuc.edu/Images/NCSAhome/footerlogo.gif"
|
|
width=78 height=27 alt="NCSA"><P></A>
|
|
|
|
[ <A HREF="title.html"><I>HDF5 Tutorial Top</I></A> ]
|
|
<H1>
|
|
<BIG><BIG><BIG><FONT COLOR="#c101cd">Introductory Topics Quiz</FONT>
|
|
</BIG></BIG></BIG></H1>
|
|
|
|
<hr noshade size=1>
|
|
|
|
|
|
<h3>Section 2: HDF File Organization</h3>
|
|
|
|
<ol>
|
|
<li>Name and describe the two primary objects that can be stored in an HDF5
|
|
file.
|
|
|
|
<p>
|
|
<li>What is an attribute?
|
|
|
|
<p>
|
|
<li>Give the path name for an object called <code>harry</code> that is a member of a
|
|
group called <code>dick</code>, which, in turn, is a member of the root group.
|
|
</ol>
|
|
|
|
|
|
<h3>Section 3: The HDF5 API</h3>
|
|
|
|
<ol>
|
|
<li>Describe the purpose of each of the following HDF5 APIs:
|
|
<dir>
|
|
H5A, H5D, H5E, H5F, H5G, H5T, H5Z
|
|
</dir>
|
|
</ol>
|
|
|
|
|
|
<h3>Section 4: Creating an HDF5 File</h3>
|
|
|
|
<ol>
|
|
<li>What two HDF5 routines must be called to create an HDF5 file?
|
|
|
|
<p>
|
|
<li>What include file must be included in any file that uses the HDF5 library?
|
|
|
|
<p>
|
|
<li>An HDF5 file is never completely empty because as soon as it is created,
|
|
it automatically contains a certain primary object. What is that object?
|
|
</ol>
|
|
|
|
|
|
<h3>Section 5: Creating a Dataset</h3>
|
|
|
|
<ol>
|
|
<li>Name and describe two major datatype categories.
|
|
|
|
<p>
|
|
<li>List the HDF5 atomic datatypes. Give an example of a predefined datatype.
|
|
|
|
<p>
|
|
<li>What does the dataspace describe? What are the major characteristics of
|
|
the simple dataspace?
|
|
|
|
<p>
|
|
<li>What information needs to be passed to the <code>H5Dcreate</code>
|
|
function, i.e., what information is needed to describe a dataset at
|
|
creation time?
|
|
</ol>
|
|
|
|
|
|
<h3>Section 6: Reading from and Writing to a Dataset</h3>
|
|
|
|
<ol>
|
|
<li>What are six pieces of information which need to be specified for
|
|
reading and writing a dataset?
|
|
|
|
<p>
|
|
<li>Why are both the memory dataspace and file dataspace needed for
|
|
read/write operations, while only the memory datatype is required?
|
|
|
|
<p>
|
|
<li>What does the line
|
|
<br>
|
|
<code>DATASPACE { SIMPLE (4 , 6 ) / ( 4 , 6 ) } </code>
|
|
<br>in Figure 6.1 mean?
|
|
</ol>
|
|
|
|
|
|
<h3>Section 7: Creating an Attribute</h3>
|
|
|
|
<ol>
|
|
<li>What is an attribute?
|
|
|
|
<p>
|
|
<li>Can partial I/O operations be performed on attributes?
|
|
</ol>
|
|
|
|
|
|
<h3>Section 8: Creating a Group</h3>
|
|
|
|
<ol>
|
|
<li>What are the two primary objects that can be included in a group?
|
|
</ol>
|
|
|
|
|
|
<h3>Section 9: Creating Groups Using Absolute and Relative Names</h3>
|
|
|
|
<ol>
|
|
<li>Group names can be specified in two ways. What are these two types
|
|
of group names?
|
|
|
|
<p>
|
|
<li>You have a dataset named <code>moo</code> in the group <code>boo</code>, which is
|
|
in the group <code>foo</code>, which, in turn, is in the root group.
|
|
How would you specify an absolute name to access this dataset?
|
|
</ol>
|
|
|
|
|
|
<h3>Section 10: Creating Datasets in Groups</h3>
|
|
|
|
<ol>
|
|
<li>Describe a way to access the dataset <code>moo</code> described in the
|
|
previous section (Section 9, question 2) using a relative name.
|
|
Describe a way to access the same dataset using an absolute name.
|
|
</ol>
|
|
|
|
</PRE>
|
|
<!-- BEGIN FOOTER INFO -->
|
|
|
|
<P><hr noshade size=1>
|
|
<font face="arial,helvetica" size="-1">
|
|
<a href="http://www.ncsa.uiuc.edu/"><img border=0
|
|
src="http://www.ncsa.uiuc.edu/Images/NCSAhome/footerlogo.gif"
|
|
width=78 height=27 alt="NCSA"><br>
|
|
The National Center for Supercomputing Applications</A><br>
|
|
<a href="http://www.uiuc.edu/">University of Illinois
|
|
at Urbana-Champaign</a><br>
|
|
<br>
|
|
<!-- <A HREF="helpdesk.mail.html"> -->
|
|
<A HREF="mailto:hdfhelp@ncsa.uiuc.edu">
|
|
hdfhelp@ncsa.uiuc.edu</A>
|
|
<br>
|
|
<BR> <H6>Last Modified: March 16, 2001</H6><BR>
|
|
<!-- modified by Barbara Jones - bljones@ncsa.uiuc.edu -->
|
|
</FONT>
|
|
<BR>
|
|
<!-- <A HREF="mailto:hdfhelp@ncsa.uiuc.edu"> -->
|
|
|
|
</BODY>
|
|
</HTML>
|
|
|
|
|
|
|