<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Error on Ch.4 Quiz of Prep Guide in Programming 1 and 2</title>
    <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765049#M921</link>
    <description>&lt;P&gt;There is no edition on the cover or inside page! It is the one currently provided by SAS at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaliu_0-1630415200192.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63161i9ADDED0EF9B456C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaliu_0-1630415200192.png" alt="jaliu_0-1630415200192.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 31 Aug 2021 13:07:01 GMT</pubDate>
    <dc:creator>jaliu</dc:creator>
    <dc:date>2021-08-31T13:07:01Z</dc:date>
    <item>
      <title>Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764811#M886</link>
      <description>&lt;P&gt;The answer to number 3 says 'A' is correct when they are actually referring to choice 'B'. Choice 'A' clearly has no '.' in the procedure. This is not mentioned in the errors doc.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm really unimpressed with this company and think the exam questions are inappropriate given the fact that even SAS reps are unable to comprehend questions and answers.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 11:23:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764811#M886</guid>
      <dc:creator>jaliu</dc:creator>
      <dc:date>2021-08-30T11:23:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764873#M893</link>
      <description>&lt;P&gt;Since there are absolutely no details, such as which prep guide, who published it, when was it published, page number or question question number to reference, I would say your comment could use some supporting details.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 15:16:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764873#M893</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-08-30T15:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764884#M894</link>
      <description>The official SAS certified specialist prep guide. published by SAS.</description>
      <pubDate>Mon, 30 Aug 2021 15:34:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764884#M894</guid>
      <dc:creator>jaliu</dc:creator>
      <dc:date>2021-08-30T15:34:07Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764886#M896</link>
      <description>&lt;P&gt;There are multiple editions. Can you please provide the edition, lesson, page number, question number etc.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 15:41:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764886#M896</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2021-08-30T15:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764919#M902</link>
      <description>&lt;P&gt;2019 edition which should be the newest. Chapter 4, question #3. Page 56.&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 18:33:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764919#M902</guid>
      <dc:creator>jaliu</dc:creator>
      <dc:date>2021-08-30T18:33:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764924#M906</link>
      <description>&lt;P&gt;So I'm guessing that's the fifth edition? Look at the cover and let us know the edition. My guess it's this question? &lt;EM&gt;Which program correctly imports only the first seven observations from the external file?&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Go to &lt;EM&gt;page 42&lt;/EM&gt;. Near the bottom of that page the main section is &lt;STRONG&gt;Reading and Verifying Data&lt;/STRONG&gt;. Then go to the subsection &lt;STRONG&gt;Verifying the Code that Reads the Data&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;It says:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Before you read a complete external file, you can verify the code that reads the data by limiting the number of observations that SAS reads. You can use the OPTIONS statement with the OBS= option &lt;U&gt;&lt;STRONG&gt;before the IMPORT procedure&lt;/STRONG&gt; &lt;/U&gt;to limit the number of observations that SAS reads from your external file.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Right below that is the code&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;options obs=5;
proc import datafile="C:\Users\Student1\cert\boot.csv";
...&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;It's the exact answer to your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- Peter&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Aug 2021 19:10:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/764924#M906</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2021-08-30T19:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765030#M918</link>
      <description>&lt;P&gt;The solution says you need the delimeter '.' when the choice does not contain the '.' Clearly they are referring to the wrong letter choice.&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 12:14:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765030#M918</guid>
      <dc:creator>jaliu</dc:creator>
      <dc:date>2021-08-31T12:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765047#M920</link>
      <description>&lt;P&gt;Again, you never said what &lt;STRONG&gt;EDITION &lt;/STRONG&gt;you are using. It's on the front cover. I'm guessing the fifth edition textbook since you said 2019?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In an earlier post I said:&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;So I'm guessing that's the fifth edition? Look at the cover and let us know the edition. My guess it's this question?&amp;nbsp;&lt;/SPAN&gt;&lt;U&gt;&lt;EM&gt;Which program correctly imports only the first seven observations from the external file?&lt;/EM&gt;&lt;/U&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You never confirmed this.&amp;nbsp;You need to be 100% clear when posting on forums. I'm only guessing which question you are on. Because I have the fifth edition, the question above is&amp;nbsp;C&lt;SPAN&gt;hapter 4, question #3. Page 56 like you mentioned. So are you now talking about another question now? The question I'm&amp;nbsp;looking at has feedback that has nothing to do with a delimiter.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;It says:&lt;/SPAN&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN style="font-family: inherit;"&gt;Use the OBS= option in the OPTIONS statement before the IMPORT procedure to limit the number of observations that SAS reads from the external file. When you use the OBS= option in the PROC PRINT statement, the whole file is imported but printing is limited to the number of observations specified.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;SPAN&gt;- Peter&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 13:03:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765047#M920</guid>
      <dc:creator>Panagiotis</dc:creator>
      <dc:date>2021-08-31T13:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765049#M921</link>
      <description>&lt;P&gt;There is no edition on the cover or inside page! It is the one currently provided by SAS at the moment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jaliu_0-1630415200192.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/63161i9ADDED0EF9B456C5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jaliu_0-1630415200192.png" alt="jaliu_0-1630415200192.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 13:07:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765049#M921</guid>
      <dc:creator>jaliu</dc:creator>
      <dc:date>2021-08-31T13:07:01Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765074#M925</link>
      <description>&lt;P&gt;Does the place you get the prep guide and or quiz include a feedback link for reporting simple typos?&lt;/P&gt;
&lt;P&gt;Does it include a link to any known issues that have already been identified since the last update to the documents?&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 15:10:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765074#M925</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-08-31T15:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765084#M929</link>
      <description>&lt;P&gt;So combining together the information you have provided across multiple posts it looks like B is the right answer to the question in your photograph (not sure if there are other possibly better answers beyond C, the last one you posted)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you think of other things you might need to know or ask related to this question?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-SPOILER&gt;What is the meaning of "import seven lines"? Is that seven lines including the header line, so 6 observations? Or 7 observations of data, so 8 lines if the file has a header row?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Who considers PROC IMPORT as a "correct" way to generate data from a text file?&amp;nbsp; PROC IMPORT has the GUESS what to name the variables, what types to use for the variables, what maximum length to define for the character variables. What informat (if any) to use to read the variables.&amp;nbsp; What format (if any) to attach to the variables.&amp;nbsp; If you want to create a dataset from a text file write your own data step to read the file.&lt;BR /&gt;&lt;BR /&gt;Who delimits a file with period?&amp;nbsp; Comma is popular (hence the extension of CSV for comma separated values), Semi-colon is popular in locales where commas are used for representing decimal point, Tabs are common. Pipe (|) is common.&amp;nbsp; Space is normally NOT use for delimited files, instead files with spaces are typically fixed length&lt;BR /&gt;&lt;BR /&gt;Who uses the OBS= system option to limit reading of lines from TEXT files? I have never seen OBS= used this way in 30+ years of using SAS.&amp;nbsp; Typically you use OBS= system option to limit the number of observations read or written to SAS datasets, not text files.&amp;nbsp; I have frequently used the OBS= option on an INFILE statement to limit the number of lines read from a text file.&lt;/LI-SPOILER&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 15:25:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765084#M929</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2021-08-31T15:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765088#M931</link>
      <description>&lt;P&gt;Yes, I try to ask myself those types of questions. I think the biggest problem with this book is that the answers don't even explain why the wrong choices are incorrect. And then there are weird things like you mentioned that just confuse someone. And maybe that is their intention but sometimes I think it backfires if their true goal is to prepare students (and might not be).&lt;/P&gt;</description>
      <pubDate>Tue, 31 Aug 2021 15:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/765088#M931</guid>
      <dc:creator>jaliu</dc:creator>
      <dc:date>2021-08-31T15:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/954706#M1509</link>
      <description>SAS document feb 2019&lt;BR /&gt;SAS cerified specialist prep guide&lt;BR /&gt;base programming using SAS 9.4&lt;BR /&gt;quiz pg 56&lt;BR /&gt;answer key pg 379</description>
      <pubDate>Fri, 27 Dec 2024 23:27:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/954706#M1509</guid>
      <dc:creator>DCMarks25</dc:creator>
      <dc:date>2024-12-27T23:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Error on Ch.4 Quiz of Prep Guide</title>
      <link>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/954707#M1510</link>
      <description>My book from feb 2019 does not have an edition on the cover</description>
      <pubDate>Fri, 27 Dec 2024 23:31:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Programming-1-and-2/Error-on-Ch-4-Quiz-of-Prep-Guide/m-p/954707#M1510</guid>
      <dc:creator>DCMarks25</dc:creator>
      <dc:date>2024-12-27T23:31:12Z</dc:date>
    </item>
  </channel>
</rss>

