<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>niakot09</author_name>
  <author_url>https://blog.hatena.ne.jp/niakot09/</author_url>
  <blog_title>基本情報技術者試験問題を解いてみる</blog_title>
  <blog_url>https://learn-it555.hatenablog.com/</blog_url>
  <categories>
    <anon>問題を解いてみた</anon>
  </categories>
  <description>問12 次のプログラム中の [ ] に入れる正しい答えを，解答群の中から選べ。ここで，配列の要素番号は 1 から始まる。 関数 simRatio は，引数として与えられた要素数 1 以上の二つの文字型の配列 s1と s2 を比較し，要素数が等しい場合は，配列の並びがどの程度似ているかの指標として，（要素番号が同じ要素の文字同士が一致する要素の組みの個数 ÷ s1の要素数）を実数型で返す。例えば，配列の全ての要素が一致する場合の戻り値は 1，いずれの要素も一致しない場合の戻り値は 0 である。 なお，二つの配列の要素数が等しくない場合は，－1 を返す。 関数 simRatio に与える s1，s…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flearn-it555.hatenablog.com%2Fentry%2F2023%2F09%2F11%2F000000&quot; title=&quot;サンプル問題 科目B 問12 - 基本情報技術者試験問題を解いてみる&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/n/niakot09/20230826/20230826163430.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-09-11 00:00:00</published>
  <title>サンプル問題 科目B 問12</title>
  <type>rich</type>
  <url>https://learn-it555.hatenablog.com/entry/2023/09/11/000000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
