in Set Theory & Algebra
236 views
0 votes
0 votes

Determine whether $f$ is a function from the set of all bit strings to the set of integers if

  1. $f(S)$is the position of a $0$ bit in $S$.
  2. $f(S)$is the number of $1$ bits in $S$.
  3. $f(S)$is the smallest integer $i$ such that the $i$ th bit of $S$ is $1$ and $f(S)=0$ when $S$ is the empty string, the string with no bits.
in Set Theory & Algebra
236 views

Please log in or register to answer this question.

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true